Health

Show health information for the cluster.

Usage:

shell
humioctl health [flags]

Table: Local flags

ParameterDescription
--fail Set the exit code to the number of down checks.
-h, --help Help for health
-s, --select strings Select checks to display. Specify the flag multiple times for multiple checks. If the server does not support a selected value, it is omitted. This flag also affects which checks are considered by --fail.
--uptime Print uptime and exit.
--version Print the server version and exit.
--warn-as-down When used with --fail, treat warnings as down.

Table: Global flags

ParameterDescription
-a,--address string The HTTP address of the Humio cluster. Overrides the value in your config file.
--ca-certificate-file string File path to a file containing the CA certificate in PEM format. Overrides the value in your config file.
-c, --config string Config file (default is $HOME/.humio/config.yaml)
--format string Change output format of commands, if supported. Valid formats: json
--insecure By default, all encrypted connections will verify that the hostname in the TLS certificate matches the name from the URL. Set this to true to ignore hostname validation.
-u, --profile string Name of the config profile to use
--proxy-organization string Commands are executed in the specified organization.
-t, --token string The API token to use when talking to Humio. Overrides the value in your config file.
--token-file string File path to a file containing the API token. Overrides the value in your config file and the value of --token.
--unix-socket-proxy string Path to a unix socket to use as an HTTP proxy.