Administer > Configure Streaming of Docker Container Logs

Configure Streaming of Docker Container Logs

OMi MP for Docker enables data collection from the container log file. The log data is structured in a specific format to provide information about host, Container ID, timestamp, and message. The structured data is further processed by Operations Agent and forwarded to required targets for analytics.

Note The Docker Log Collection Aspect and related policies are available as OMi MP for Docker AddOn 01.00.000 package. The log streaming capability is supported from Operations Manager i 10.61 (or later) and Operations Agent 12.04 (or later) versions.

OMi MP for Docker provides Docker Log Collection Aspect that enables the streaming of structured logs for Docker container. Docker Log Collection Aspect contains Log Streaming and Data Forwarding policies that must be configured prior to deploying the aspect. Data from the log file is converted to structured data based on the mapping and conditions defined in the Log Streaming policy. Operations Agent processed data is forwarded to the target specified in the Data forwarding policy. Hence, before deploying the data collection aspect, make sure the data forwarding policy is configured. Following sections provides information about the default setting and additional options to configure the policies before deploying the aspect.