# SFLOW Codec plugin input format

**URL:** <https://discuss.elastic.co/t/sflow-codec-plugin-input-format/114573>\
**Category:** Logstash\
**Created:** [January 8, 2018, 5:14pm UTC](https://discuss.elastic.co/t/sflow-codec-plugin-input-format/114573 "2018-01-08T17:14:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![weirdaze](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weirdaze/32/26360_2.png) [@weirdaze](https://discuss.elastic.co/u/weirdaze)\
**Post date:** [January 8, 2018, 5:14pm UTC](https://discuss.elastic.co/t/sflow-codec-plugin-input-format/114573/1 "2018-01-08T17:14:04Z")

</div>

using logstash 2.3.4

Hello! Newbie to Logstash. Trying to figure out how I should format the input that the sflow codec would accept.

so far all I get is (per line of text in my sflow.input file):

Ignoring Sflow version v808728112 {:level=\>:warn}  
Ignoring Sflow version v808728112 {:level=\>:warn}  
Ignoring Sflow version v808728112 {:level=\>:warn}  
...

Here's my sflow.conf config:  
input {  
file{  
path =\> "/home/arista/sflow.input"  
codec =\> sflow{}  
start\_position =\> "beginning"  
sincedb\_path =\> "/dev/null"  
}  
stdin{}  
}

output {  
file{  
path =\> "/home/arista/output.log"  
}  
stdout{}  
}

I've tried feeding it ascii based human readable text of the packet as well as the binary representation of that text. Neither option worked.

Could someone please walk me through what I need to feed this code so it accepts the input?

BTW, the sflow input is definitely Sflow v5.

Thanks!

---

<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:** [February 5, 2018, 5:14pm UTC](https://discuss.elastic.co/t/sflow-codec-plugin-input-format/114573/2 "2018-02-05T17:14:13Z")

</div>

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