Recipe for SYSLOG Socket
See the Log Service Configuration Properties table for valid values.
tml_log_properties.json
1. For access logs : { "tmg-internal-statusCheck":"OFF", "tmgc_log_service_logLevel" : "info", "logserviceURL" : "localhost", "td_agent_metric_output_channelType" : "DEFAULT", "td_agent_container_output_channelType" : "DEFAULT", "td_agent_output_channelType" : "SYSLOG", "td_agent_out_syslog_host" : "<network reachable hostname or IP address syslog server>", "td_agent_out_syslog_port" : "<valid syslog server port number>" } 2. For metrics logs : { "tmg-internal-statusCheck":"OFF", "tmgc_log_service_logLevel" : "info", "logserviceURL" : "localhost", "td_agent_output_channelType" : "DEFAULT", "td_agent_container_output_channelType" : "DEFAULT", "td_agent_metric_output_channelType" : "SYSLOG", "td_agent_out_metric_syslog_host" : "<network reachable hostname or IP address syslog server>", "td_agent_out_metric_syslog_port" : "<valid syslog server port number>" } 3. For container/component's logs : { "tmg-internal-statusCheck":"OFF", "tmgc_log_service_logLevel" : "info", "logserviceURL" : "localhost", "td_agent_metric_output_channelType" : "DEFAULT", "td_agent_output_channelType" : "DEFAULT", "td_agent_container_output_channelType" : "SYSLOG", "td_agent_out_container_syslog_host" : ""<network reachable hostname or IP address syslog server>", "td_agent_out_container_syslog_port" : "<valid syslog server port number>" } NOTE : User can send all the three types of logs to same destination over syslog { "tmg-internal-statusCheck":"OFF", "tmgc_log_service_logLevel" : "info", "logserviceURL" : "localhost", "td_agent_output_channelType" : "SYSLOG", "td_agent_out_metric_syslog_host" : "<network reachable hostname or IP address syslog server>", "td_agent_out_metric_syslog_port" : "<valid syslog server port number>", "td_agent_metric_output_channelType" : "SYSLOG", "td_agent_out_metric_syslog_host" : "<network reachable hostname or IP address syslog server>", "td_agent_out_metric_syslog_port" : "<valid syslog server port number>", "td_agent_container_output_channelType" : "SYSLOG", "td_agent_out_container_syslog_host" : ""<network reachable hostname or IP address syslog server>", "td_agent_out_container_syslog_port" : "<valid syslog server port number>" }
Copyright © Cloud Software Group, Inc. All rights reserved.