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

Fluentbit Operator "index" wrong convert Index #191

Closed
muhammedsoner opened this issue Jan 26, 2022 · 1 comment
Closed

Fluentbit Operator "index" wrong convert Index #191

muhammedsoner opened this issue Jan 26, 2022 · 1 comment

Comments

@muhammedsoner
Copy link

Hi, When elasticsearch output "index" is defined, it performs the conversion as "host" inside.
es-output.yaml

kind: Output
metadata:
  name: logtest
  namespace: kubesphere-logging-system
  labels:
    logging.kubesphere.io/enabled: "true"
    logging.kubesphere.io/component: logging
spec:
  match: kube.var.log.containers.*logtest*.log
  es:
    host: elasticsearch-master.logging.svc
    port: 9200
    index: logtest
    logstashFormat: false
    timeKey: "@timestamp"```

result: 
---------------------

[Output]
    Name    es
    Match    kube.var.log.containers.*logtest*.log
    Host    elasticsearch-master.logging.svc
    Port    9200
    Host    logtest
    Logstash_Format    false
    Time_Key    @timestamp
@wenchajun
Copy link
Member

hi, @muhammedsoner . Thank you for your feedback. This issue has been fixed, please see #160.

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

2 participants