Change log level for metricbeat on elasticsearch through ECK

I want to change the logging level for the Metricbeat container of an Elasticsearch node installed through ECK. Is this possible or not? Here's the configuration:

apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
  name: test-elasticsearch
spec:
  monitoring:
    metrics:
      elasticsearchRefs:
        - name: test-elasticsearch
  nodeSets:
    - config:
        node.roles:
          - master
          - remote_cluster_client
          - data
          - ingest
          - transform
      count: 3
      name: test
      podTemplate:
        metadata:
          creationTimestamp: null
        spec:
          containers:
            - name: elasticsearch
              resources:
                limits:
                  cpu: 2
                  memory: 4Gi
                requests:
                  cpu: 500m
                  memory: 4Gi
            - name: metricbeat
              env:
                - name: METRICBEAT_LOGGING_LEVEL
                  value: warning
                - name: BEAT_LOGGING_LEVEL
                  value: warning
                - name: LOGGING_LEVEL
                  value: warning
                - name: logging.level
                  value: warning
  version: 8.9.0
`

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