# Logstach Netflow IPFIX decode error

**URL:** <https://discuss.elastic.co/t/logstach-netflow-ipfix-decode-error/156144>\
**Category:** Logstash\
**Created:** [November 10, 2018, 2:06pm UTC](https://discuss.elastic.co/t/logstach-netflow-ipfix-decode-error/156144 "2018-11-10T14:06:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![leonel.santos](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@leonel.santos](https://discuss.elastic.co/u/leonel.santos)\
**Post date:** [November 10, 2018, 2:06pm UTC](https://discuss.elastic.co/t/logstach-netflow-ipfix-decode-error/156144/1 "2018-11-10T14:06:58Z")

</div>

Hi.  
A problem of this kind is happening to me too.

When I export IPFIX flows via TCP or UDP to logstach within the same network, no problem. I can see the IPFIX flows in Elastiflow Kibana Dashboards.

When I have the IPFIX exporter on a different network than the ELK server, I can only decode IPFIX flows exported via UDP to the logstach. TCP dosen't work.

The error:

```
[2018-11-10T13:32:47,679][WARN][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"elastiflow-3.3.0-2018.11.10", :_type=>"doc", :_routing=>nil}, #<LogStash::Event:0x161c6c73>], :response=>{"index"=>{"_index"=>"elastiflow-3.3.0-2018.11.10", "_type"=>"doc", "_id"=>"r1DT_WYBq-d9FyrfLfzt", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse [node.ipaddr]", "caused_by"=>{"type"=>"illegal_argument_exception", "reason"=>"'_gateway' is not an IP string literal."}}}}}

```

It seems that there is some modification in the IP address field and it is replaced by a DNS name associated with it.

Can someone help.  
Thanks in advance.

---

<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:** [December 8, 2018, 2:07pm UTC](https://discuss.elastic.co/t/logstach-netflow-ipfix-decode-error/156144/2 "2018-12-08T14:07:04Z")

</div>

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