# Tag is not working for elasticsearch plugin in fluentd

**URL:** https://discuss.elastic.co/t/tag-is-not-working-for-elasticsearch-plugin-in-fluentd/355610
**Category:** Elastic Cloud on Kubernetes (ECK)
**Created:** [March 18, 2024, 1:42pm UTC](https://discuss.elastic.co/t/tag-is-not-working-for-elasticsearch-plugin-in-fluentd/355610 "2024-03-18T13:42:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ankit\_Grover1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankit_grover1/32/121862_2.png) [@Ankit\_Grover1](https://discuss.elastic.co/u/Ankit_Grover1)
#### Post date: [March 18, 2024, 1:42pm UTC](https://discuss.elastic.co/t/tag-is-not-working-for-elasticsearch-plugin-in-fluentd/355610/1 "2024-03-18T13:42:45Z")

</div>

Here is my configuration for the fluentd

 @type tail @id tail\_resumeparserLogs tag kubernetes.log path "/var/log/containers/rchilli-resumeparser-\*.log" pos\_file "/var/log/fluentd-resumeparser.log.pos" exclude\_path ["/var/log/containers/fluentd-\*.log"] refresh\_interval 30 read\_from\_head true @type "json" time\_format "%Y-%m-%dT%H:%M:%S.%NZ" time\_type string @type elasticsearch @log\_level debug host "#{ENV['FLUENT\_ELASTICSEARCH\_HOST'] || 'elastic-cluster-es-http.elastic-system.svc.cluster.local'}" port "#{ENV['FLUENT\_ELASTICSEARCH\_PORT'] || '9200'}" scheme "#{ENV['FLUENT\_ELASTICSEARCH\_SCHEME'] || 'http'}" ssl\_verify "#{ENV['FLUENT\_ELASTICSEARCH\_SSL\_VERIFY'] || 'false'}" user "#{ENV['FLUENT\_ELASTICSEARCH\_USER']}" password "#{ENV['FLUENT\_ELASTICSEARCH\_PASSWORD']}" reload\_connections "#{ENV['FLUENT\_ELASTICSEARCH\_RELOAD\_CONNECTIONS'] || 'true'}" logstash\_format true logstash\_dateformat "%Y.%m.%d" index\_name "fluentd-yors" type\_name "fluentd-yors" flush\_thread\_count "#{ENV['FLUENT\_ELASTICSEARCH\_BUFFER\_FLUSH\_THREAD\_COUNT'] || '8'}" flush\_interval "#{ENV['FLUENT\_ELASTICSEARCH\_BUFFER\_FLUSH\_INTERVAL'] || '5s'}" chunk\_limit\_size "#{ENV['FLUENT\_ELASTICSEARCH\_BUFFER\_CHUNK\_LIMIT\_SIZE'] || '2M'}" queue\_limit\_length "#{ENV['FLUENT\_ELASTICSEARCH\_BUFFER\_QUEUE\_LIMIT\_LENGTH'] || '32'}" retry\_max\_interval "#{ENV['FLUENT\_ELASTICSEARCH\_BUFFER\_RETRY\_MAX\_INTERVAL'] || '30'}" retry\_forever true 

it is not creating the index on the elasticsearch

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 15, 2024, 1:42pm UTC](https://discuss.elastic.co/t/tag-is-not-working-for-elasticsearch-plugin-in-fluentd/355610/2 "2024-04-15T13:42:52Z")

</div>

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