# Help with index patterns used in netflow

**URL:** <https://discuss.elastic.co/t/help-with-index-patterns-used-in-netflow/153081>\
**Category:** Logstash\
**Created:** [October 18, 2018, 10:48pm UTC](https://discuss.elastic.co/t/help-with-index-patterns-used-in-netflow/153081 "2018-10-18T22:48:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsantiago](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@gsantiago](https://discuss.elastic.co/u/gsantiago)\
**Post date:** [October 18, 2018, 10:48pm UTC](https://discuss.elastic.co/t/help-with-index-patterns-used-in-netflow/153081/1 "2018-10-18T22:48:47Z")

</div>

I've setup elastiflow on my ELK Stack to serve as a netflow collector, but I noticed visualizations showed different data to what I expected, then I realized kibana was using `flow.client_hostname` index pattern as the field to show the data, when what I expected to use was `flow.src_hostname`.

I've change the fields used in the graphs, but I'm really curious what would be the difference between `flow.client_hostname` and `flow.src_hostname` .

I expect the source IP address from that particular flow to be the "client" in that conversation, if thats not the case what's the logic behind this fields "flow.client\_hostname/flow.server\_hostname/flow.autonomous\_system".

I've checked on Management section but all I can find is that these indexes are String.

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [October 19, 2018, 4:45am UTC](https://discuss.elastic.co/t/help-with-index-patterns-used-in-netflow/153081/2 "2018-10-19T04:45:10Z")

</div>

I am going to move this to the Logstash topic - someone there should be able to describe the difference between `flow.client_hostname` and `flow.src_hostname`

---

<div class="post-metadata">

**Author:** ![rcowart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rcowart/32/88091_2.png) [@rcowart](https://discuss.elastic.co/u/rcowart)\
**Post date:** [October 25, 2018, 11:26am UTC](https://discuss.elastic.co/t/help-with-index-patterns-used-in-netflow/153081/3 "2018-10-25T11:26:06Z")

</div>

@gsantiago please open an issue and ask this question on the [**ElastiFlow**](https://github.com/robcowart/elastiflow) repository and I will answer it there.

---

<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:** [November 22, 2018, 11:26am UTC](https://discuss.elastic.co/t/help-with-index-patterns-used-in-netflow/153081/4 "2018-11-22T11:26:07Z")

</div>

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