Skip to content

Filebeat not picking up all logs  #41

@danielc103

Description

@danielc103

This may be more of a question than an actual issue.

I've not made any modifications to the filebeat deployment.

Kibana successfully pulls logs for my autoscaler and elk stack. Kibana picks up all my namespaces correctly, but for some reason does not show logs for nginx-ingress, external-dns, or any other services. I've deployed an AWX operator into default namespace, no logs.

Am I missing a setting or flag I should toggle in Kibana or Elasticsearch to pull those?

filebeat:
  enabled: true
  filebeatConfig:
    filebeat.yml: |
      filebeat.modules:
        - module: system
          syslog:
            enabled: true
            #var.paths: ["/var/log/syslog"]
      filebeat.autodiscover:
        providers:
          - type: kubernetes
            node: $${NODE_NAME}
            hints.enabled: true
            hints.default_config:
              type: container
              paths:
                - /var/log/containers/*-$${data.kubernetes.container.id}.log

      processors:
        - drop_event:
            when:
              equals:
                kubernetes.container.name: "filebeat"

        - add_cloud_metadata:
        - add_kubernetes_metadata:
        - add_docker_metadata:

      output.elasticsearch:
        username: '$${ELASTICSEARCH_USERNAME}'
        password: '$${ELASTICSEARCH_PASSWORD}'
        protocol: https
        hosts: ["elasticsearch-master:9200"]
        ssl.verification_mode: none

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions