Recipe for MOM and HTTP

See the Log Service Configuration Properties table for valid values.

The recipe for exporting logs to MOM and other output channels is a two-stage process.

  1. Input MOM details in tml_cluster_properties.json. See the following sample:
    
    {
       "mysql_root_pwd": "changeme",
       "mysql_masheryonprem_pwd": "changeme",
       "mysql_mashonpremrepl_pwd": "changeme",
       "mysql_mashclient_pwd": "changeme",
       "mysql_masherybackup_pwd": "changeme",
       "mom_server": "https://api-mom.mashery.com",
       "mom_key": "XXXXXXXXXXXXXXXXXXXXXXXXXX",
       "mom_secret": "xxxxxxxxx"
     }
     
  2. Input data for other output channels in tml_log_properties.json. See the following sample:
    
    {
       "auto_binding": "ON",
        "td_agent_output_channelType": "DEFAULT,HTTP",
        "td_agent_container_output_channelType": "DEFAULT",
        "td_agent_metric_output_channelType": "DEFAULT",
        "td_agent_verbose_output_channelType": "DEFAULT",
        "td_agent_out_http_URI" : "http://nn.nn.nnn.nnn:nnnn/logs/accesslog"
     }