Exporting Logs to Different Output Channels
The Log Service writes logs to a mounted persistent volume and are available at /mnt/data.
Other than the default file destination, the Log Service can forward logs to Kafka, Database, Forward, Elasticsearch, HTTP endpoint, TCP socket, and SYSLOG server port. To forward to these destinations, use one of the recipes below and follow these steps:
Properties for different output channels
The main property that needs to be set is the output channel marked by td_agent_output_channelType, td_agent_metric_output_channelType, td_agent_container_output_channelType, and td_agent_verbose_output_channelType.
The accepted values are
DEFAULT,
DATABASE,
FORWARD,
ELASTICSEARCH,
HTTP,
KAFKA,
TCP, and
SYSLOG. The values are case-sensitive.
Copyright © 2022. Cloud Software Group, Inc. All Rights Reserved.