Smos

A comprehensive self-management system

Custom reports

This command, without arguments, shows you an overview of the custom reports you have configured. With an argument, it will show you that report.

Reference

Arguments

Usage: smos-query report [REPORT]
  Run preconfigured reports

Available options:
  REPORT                   The preconfigured report to run
  -h,--help                Show this help text

Environment

This command does not use any extra environment variables.

Configuration

# Configuration
report: # optional
  # PreparedReportConfiguration
  reports: # optional
    # Custom reports
    <key>: # PreparedReport
      description: # optional
        # A description of the report
        <string>
      filter: # optional
        # The entry filter to get the results in the report
        <string>
      columns: # optional
        - # The columns of the report
          <string>
      sorter: # optional
        # The sorter to sort the rows of the report by
        <string>
      hide-archive: # optional
        # Whether to consider the archive for the report
        <boolean>