Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gateway support for Host Logs (#437)
Host logs does not currently support gateway mode. If running the agent in gateway mode, the exporters section of the logs/host pipeline will be set to splunk_hec/platform_logs. In gateway mode, the agent does not have this exporter configured and it is only present on the collector. Therefore, the exporter must be set to otlp so that logs are sent to the collector. This is the same approach used for main logs pipeline - if running in gateway mode use the otlp exporter, otherwise use the splunk_hec/o11y or splunk_hec/platform_logs exporters depending on configuration. Co-authored-by: Dmitrii Anoshin <[email protected]>
- Loading branch information