Example configuration
To route logs from Fluent Bit to Cortex XCOR, Cortex XCOR recommends configuring an HTTP output plugin with the following parameters and values:- YAML configuration
- Classic configuration
-
Replace
API_TOKENwith the API token generated from your service account. Cortex XCOR recommends storing your API token in a separate file or Kubernetes Secret and calling it using an environment variable, such as$API_TOKEN.The service account must have read access to route log data to Cortex XCOR. -
Replace
TENANTwith the name of your Cortex XCOR tenant. -
Replace
TIMEwith the value you assigned to timestamps in your log normalization settings. If you didn’t set up log normalization for timestamps, replaceTIMEwithtimestamp.