Push logs to log central

This document details out the process of pushing logs to Central Log Platform

User can now push out logs to Central Log Platform using Odin by enabling Log Central agent via provisioning file. User needs to mention the platform for pushing out the log as shown in following example. Please note, at one time, only one agent can be used to push out the logs.

// Provisioning file example
[
  {
    "component_name": "odindemo",
    "deployment_type": "aws_ec2",
    "params": {
      "logs": {
        "enabled": true,
        "provider": "LOG_CENTRAL or DATADOG", // Datadog agent or Log Central agent can be put here
        "path": "<absolute path to log file>"
      }
    }
  }
]

Last updated