


For more information, see Processing Rules. If multiple processing is enabled, and Infer Boundaries is disabled, enter a regular expression for message boundaries. Detect messages spanning multiple lines.Default is “Automatically detect the format”. Default is “Use time zone from log file”. See the Prerequisites section above for details. This option is checked by default and required. For more information, see Configure sourceCategory and sourceHost using variables. If desired, you can use Docker variables to construct the Source Category value. For more information, see Metadata Naming Conventions and our Best Practices: Good Source Category, Bad Source Category. The source category metadata field is a fundamental building block to organize and label sources. (Required) Enter the Sumo source category (such as prod/web/docker/logs). If desired, you can use Docker variables to construct the Source Host value. The hostname can be a maximum of 128 characters. If not specified, it’s assumed that the host is the machine where Docker is running. Enter the hostname or IP address of the source host. See collector.properties for details on modifying this configuration file. To increase the limit, stop the Collector service, edit the collector.properties file (in the config subdirectory of the collector installation directory), and add the docker.maxPerContainerConnections property. By default, you can collect from up to 40 containers.
DOCKER SYSLOG NAME HOW TO
For information about how to define container filters, see More about defining container filters below. If you want to collect from selected containers, click the Specified Container Filters radio button, and specify filter expressions in the Container Filters field. If you want to collect from all containers, click the All Containers radio button. In the example above, the cert path is: /Users/sumo/.docker/machine/machines/default. (Required for remote access only) Enter the path to the certificate files on the local machine where the collector runs. Take the value of the DOCKER_HOST variable, change "tcp" to "https", and enter that value as the URI. # Run this command to configure your shell: Run the docker-machine command to find the Docker environment variables.Įxport DOCKER_HOST="tcp://192.168.99.100:2376"Įxport DOCKER_CERT_PATH="/Users/sumo/.docker/machine/machines/default" If your collector runs on a different machine than the Docker host, you can determine its URI from a Docker environment variable.If your collector runs on the same host as the Docker containers it will monitor, enter the non-networked Unix socket:.Select Docker Logs. The Docker Logs page appears.Navigate to the collector you installed on the Docker host, and select Add > Add Source.In the Sumo web app, select Manage Data > Collection > Collection.We don’t support monitoring more than 100 containers on a Docker host. If you want to monitor more than 40 containers on a given host you can configure a larger number in collector.properties.


For information about Docker stats, see the ”Get Container Stats Based on Resource Usage” topic in Docker API documentation.īy default, you can monitor up to 40 Docker containers on a Docker host. Sumo’s Docker stats source collects stats. For information about Docker events, see the “Monitor Events” in Docker API documentation. Sumo’s Dockers log source collect Docker events. For information about the API Sumo uses to collect logs, see the “Get Container Logs” topic in Docker API documentation. Sumo’s Docker logs source collects container logs. Sumo’s Docker logs source and Docker stats source use the Docker Engine API to gather the following data from Docker:
