Service Logger
This utility aims to provide a rich experience for interacting with service logs.
Many of the commands will launch an interactive terminal UI.
Common Use
Most options, such as --cluster-id
, --ocm-url
, and --ocm-token
can be specified as environment variables.
Flags can also be included in a config file whose default config file location is ~/.config/servicelogger/config.yaml
.
It's probably not a good idea to place the cluster ID there though.
Search
First, you'll need to download (or update) your cache of our SOPs and managed notifications.
servicelogger cache-update
Then, you can run the search program and have it output the template JSON.
servicelogger search | servicelogger send
List View
osdctl servicelog list -A $CLUSTER_ID | servicelogger list