Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Kubernetes-output

Excerpt
nameKubernetes-output

By default, Usage Engine deployed in Kubernetes outputs logging to disk and console output. If persistent disk storage is enabled, the logs end up on the mounted shared disk. But However, persistent disk is not always the desired log target, especially in a cloud environment where persistent data is typically accessed through services and APIs rather than as files. The console logs can be accessed through the "kubectl logs" command or from a Kubernetes dashboard. The buffer for storing the Kubernetes console logs is stored in memory only though and thus will be lost when a Pod terminates.

prereq

Excerpt
nameprereq

Before setting up log collection, make sure your ensure that Usage Engine Private Edition was installed with JSON formatted logging enabled., as below:

Code Block
log:
  # Format can be "json" or "raw". Default is "raw"
  format: json