Recipe for HTTP Endpoints

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_container_output_channelType" : "DEFAULT",
  "td_agent_metric_output_channelType" : "DEFAULT",
  "td_agent_output_channelType" : "HTTP",
  "td_agent_out_http_URI" : "<network reachable HTTP endpoint>"
 }
 
2. For metrics logs :
 
{
  "tmg-internal-statusCheck":"OFF",
  "tmgc_log_service_logLevel" : "info",
  "logserviceURL" : "localhost",
  "td_agent_output_channelType" : "DEFAULT",
  "td_agent_metric_output_channelType" : "DEFAULT",
  "td_agent_container_output_channelType" : "HTTP",
  "td_agent_out_container_http_URI" : "<network reachable HTTP endpoint>"
 }
 
3. For Component/Container's 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" : "HTTP",
  "td_agent_out_metric_http_URI" : "<network reachable HTTP endpoint>"
 }
 
NOTE :
User can send all the three types of logs to same destination over http
e.g.
 
{
  "tmg-internal-statusCheck":"OFF",
  "tmgc_log_service_logLevel" : "info",
  "logserviceURL" : "localhost",
  "td_agent_output_channelType" : "HTTP",
  "td_agent_out_http_URI" : "<network reachable HTTP endpoint>",
  "td_agent_metric_output_channelType" : "HTTP",
  "td_agent_out_metric_http_URI" : "<network reachable HTTP endpoint>",
  "td_agent_container_output_channelType" : "HTTP",
  "td_agent_out_container_http_URI" : "<network reachable HTTP endpoint>"
 }