Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: ElasticSearch output TLS config not reflect to fluent-bit.config #1452

Open
idemirel opened this issue Jan 11, 2025 · 0 comments
Open

Comments

@idemirel
Copy link

idemirel commented Jan 11, 2025

Describe the issue

when i add TLS params to fluentbit/output/es config , it doesn't produce fluentbit config,

To Reproduce

  output:
    es:
      bufferSize: 25MB
      enable: true
      host: elastic-es-default.elastic-system.svc.cluster.local
      logstashPrefix: ks-logstash-log
      port: 9200
      traceError: true
      generateID: true
      httpPassword:
        valueFrom:
          secretKeyRef:
            key: password
            name: elastic-credentials
      httpUser:
        valueFrom:
          secretKeyRef:
            key: username
            name: elastic-credentials
      logstashFormat: true
      matchRegex: (?:kube|service)\.(.*)
      replaceDots: false
      suppressTypeName: 'on'
      timeKey: '@timestamp'
      tls:  <--- # this option not reflect to main config.
        debug: 4
        verify: false
      writeOperation: create

Expected behavior

The following params should appear in the secret fluent-bit-config (fluent-bit.conf)

[Output]
    Name    es
    Match_Regex    (?:kube|service)\.(.*)
    Host    elastic-es-default.elastic-system.svc.cluster.local
    Port    9200
    Buffer_Size    20MB
   .
   . 
   .
    Tls.Verify off  <---# that is not exist
    Tls  on  <---# that is not exist
    Suppress_Type_Name on

Your Environment

- Fluent Operator version: 3.2.0
- Container Runtime: containerd
- Operating system: Debian GNU/Linux 12 - Kubernetes 1.31.3
- Kernel version: 6.1.0-27-amd64

How did you install fluent operator?

adding apps helm chart using rancher

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant