fsoc uql

Perform UQL query

Synopsis

Perform a Unified Query Language query of MELT data for a tenant.

See https://developer.cisco.com/docs/cisco-observability-platform/#!data-query-using-unified-query-language for more information on the unified query language for the Cisco Observability Platform.

Parsed response data are displayed in a table by default. Available output formats: auto, table, json, yaml. If the "raw" flag is provided, the actual response from the backend API is displayed instead.

fsoc uql [flags]

Examples

# Get parsed results
  fsoc uql "FETCH id, type, attributes FROM entities(k8s:workload)"

Options

  -h, --help            help for uql
  -o, --output string   overridden (default "table")
      --raw             Display actual response from the backend. Cannot be used together with the output flag.

Options Inherited From Parent Commands

      --config string      config file (default is ~/.fsoc). May be .yaml or .json
      --curl               log curl equivalent for platform API calls (implies --verbose)
      --fields string      perform specified fields transform/extract JQ expression
      --log string         set a location and name for the fsoc log file (default "/tmp/fsoc.log")
      --no-version-check   skip the daily check for new versions of fsoc
      --profile string     access profile (default is current or "default")
  -v, --verbose            enable detailed output

See Also

  • fsoc - fsoc - Cisco Observability Platform Control Tool