# Banzai Cloud Fluentd filter is not working

**URL:** <https://discuss.elastic.co/t/banzai-cloud-fluentd-filter-is-not-working/315444>\
**Category:** Elasticsearch\
**Created:** [September 29, 2022, 10:20am UTC](https://discuss.elastic.co/t/banzai-cloud-fluentd-filter-is-not-working/315444 "2022-09-29T10:20:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![buulq90](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/buulq90/32/107994_2.png) [@buulq90](https://discuss.elastic.co/u/buulq90)\
**Post date:** [September 29, 2022, 10:20am UTC](https://discuss.elastic.co/t/banzai-cloud-fluentd-filter-is-not-working/315444/1 "2022-09-29T10:20:45Z")

</div>

Hi all,

I'm trying to remove some field on Fluentd by using plugin record\_transformer but it does not works.

I'm trying to delete 2 fields: "\_id" & "\_index". Below is my configuration file:

```auto
apiVersion: logging.banzaicloud.io/v1beta1
kind: ClusterFlow
metadata:
  name: cluster-flows
spec:
  filters:
  - dedot:
      de_dot_nested: true
      de_dot_separator: '-'
  - record_transformer:
      remove_keys: $["_index"],$["_id"]
  globalOutputRefs:
  - cluster-outputs

```

The log was pushed to Elasticsearch but I still see 2 above fileds as below:

```auto
{
  "_index": “bi-2022-09-29",
  "_id": "hhXBiIMBuHSGkxNA",
  "_version": 1,
  "_score": 0,
}

```

Please help me to fix the issue.  
Thanks,

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [September 30, 2022, 3:41am UTC](https://discuss.elastic.co/t/banzai-cloud-fluentd-filter-is-not-working/315444/2 "2022-09-30T03:41:07Z")

</div>

This seems to be related to fluentd configuration, which is not supported here. I would recommend you reach out to the fluentd. community about this.

---

<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:** [October 28, 2022, 3:42am UTC](https://discuss.elastic.co/t/banzai-cloud-fluentd-filter-is-not-working/315444/3 "2022-10-28T03:42:01Z")

</div>

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