Separately Visualizing Multiple Redis Instances with Filebeat Redis Module

Using the redis Filebeat module to collect the logs for multiple redis instances and visualize them with the redis dashboard in Kibana, how to visualize the logs for the redis instances separately? Is there anything that can be done in the filebeat.yml config file or Kibana settings to make the logs for the redis instance distinguishable from each other so they can be visualized and analyzed independently in Kibana?

Current filebeat.yml:

filebeat.autodiscover:
  providers:
    - type: docker
      templates:
        - condition:
            contains:
              docker.container.image: redis
          config:
            - module: redis
              log:
                input:
                  type: docker
                  containers:
                    path: '/usr/share/filebeat/containers/'
                    stream: 'all'
                    ids:
                      - '${data.docker.container.id}'
output.elasticsearch:
  hosts: 'elasticsearch:9200'
setup.kibana:
  host: 'kibana:5601'

You can filter by container ID, or labels, or custom fields.

In the input section you can add additional fields to tags to the configuration, based on the container data.

When creating a container, one can use labels to add additional meta-data to containers. These can be used to filter in kibana.

Also see Docker Autodicovery documentation.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.