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_verbose_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>",
   "td_agent_out_syslog_tag":"ml5_accesslogs",
  "td_agent_out_syslog_protocol":"tcp"
}
 
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_verbose_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>",
  "td_agent_out_metric_syslog_tag":"ml5_metriclogs",
  "td_agent_out_metric_syslog_protocol":"tcp" 
}
 
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_verbose_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>",
  "td_agent_out_container_syslog_tag":"ml5_containerlogs", 
  "td_agent_out_container_syslog_protocol":"tcp" 
}

4. For verbose 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" : "DEFAULT",
  "td_agent_verbose_output_channelType" : "SYSLOG",
  "td_agent_out_verbose_syslog_host" : ""<network reachable hostname or IP address syslog server>",
  "td_agent_out_verbose_syslog_port" : "<valid syslog server port number>",
  "td_agent_out_verbose_syslog_tag":"ml5_verboselogs",
  "td_agent_out_verbose_syslog_protocol":"tcp"
}

NOTE :
User can send all the types of logs to same destination over syslog
 
{   
   "td_agent_output_channelType": "DEFAULT,SYSLOG",
   "td_agent_container_output_channelType": "DEFAULT,SYSLOG",
   "td_agent_metric_output_channelType": "DEFAULT,SYSLOG",
   "td_agent_verbose_output_channelType" : "DEFAULT,SYSLOG"
   "td_agent_out_syslog_host":"<SYSLOG HOST>", 
   "td_agent_out_syslog_port":"5142",
   "td_agent_out_syslog_tag":"ml5_accesslogs",
   "td_agent_out_syslog_protocol":"tcp",
   "td_agent_out_metric_syslog_host":"<SYSLOG HOST>", 
   "td_agent_out_metric_syslog_port":"5142",
   "td_agent_out_metric_syslog_tag":"ml5_metriclogs",
   "td_agent_out_metric_syslog_protocol":"tcp",
   "td_agent_out_container_syslog_host":"<SYSLOG Host>",
   "td_agent_out_container_syslog_port":"5142",
   "td_agent_out_container_syslog_tag":"ml5_containerlogs",  
   "td_agent_out_container_syslog_protocol":"tcp"
   "td_agent_out_verbose_syslog_host" : ""<network reachable hostname or IP address syslog server>",
   "td_agent_out_verbose_syslog_port" : "<valid syslog server port number>",
   "td_agent_out_verbose_syslog_tag":"ml5_verboselogs", 
   "td_agent_out_verbose_syslog_protocol":"tcp"
}