# Filebeat with netflow module: independent index problem

**URL:** https://discuss.elastic.co/t/filebeat-with-netflow-module-independent-index-problem/238571
**Category:** Beats
**Tags:** beats-module, filebeat
**Created:** [June 24, 2020, 11:29pm UTC](https://discuss.elastic.co/t/filebeat-with-netflow-module-independent-index-problem/238571 "2020-06-24T23:29:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![robertitox](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@robertitox](https://discuss.elastic.co/u/robertitox)
#### Post date: [June 24, 2020, 11:29pm UTC](https://discuss.elastic.co/t/filebeat-with-netflow-module-independent-index-problem/238571/1 "2020-06-24T23:29:40Z")

</div>

Hi people, I enable netflow module in filebeat, and in filebeat.yml file I put this lines:  
output.elasticsearch:  
hosts: ["siemtest.provincianet.com.ar:9200"]  
protocol: "http"  
username: "elastic"  
password: "xxx"  
indices:

- index: "filebeat-netflow-%{+yyyy.MM.dd}"  
when.equals:  
event.module: "netflow"
- index: "filebeat-%{[agent.version]}-%{+yyyy.MM.dd}"  
whe.not.equals:  
event.module: "netflow"

I wanted to put every netflow data in one filebeat index and the other data in another index.

After executing "filebeat setup" and "service filebeat start", I go to "Index Management" --\> filebeat-\*, and I see a message telling that I have to reindex because there are some fields with different defined type along several indexes.

Have I proceed in a corect way?

How can I do to have netflow data in a index an the other data in another index (default)???

Thanks a lot!!!

---

<div class="post-metadata">

### Author: ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)
#### Post date: [June 25, 2020, 12:52am UTC](https://discuss.elastic.co/t/filebeat-with-netflow-module-independent-index-problem/238571/2 "2020-06-25T00:52:36Z")

</div>

Hello! Can you run two Filebeats, one with netflow module enabled and the other with other modules that you are using? Then for each Filebeat, in filebeat.yml configure `output.elasticsearch` with specified index. For example: [https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html#index-option-es](https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html#index-option-es)

---

<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: [July 23, 2020, 2:52am UTC](https://discuss.elastic.co/t/filebeat-with-netflow-module-independent-index-problem/238571/3 "2020-07-23T02:52:49Z")

</div>

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