# Cisco TCPDUMP

**URL:** <https://discuss.elastic.co/t/cisco-tcpdump/128841>\
**Category:** Logstash\
**Created:** [April 20, 2018, 9:18am UTC](https://discuss.elastic.co/t/cisco-tcpdump/128841 "2018-04-20T09:18:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhalatuituia](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mhalatuituia](https://discuss.elastic.co/u/mhalatuituia)\
**Post date:** [April 20, 2018, 9:18am UTC](https://discuss.elastic.co/t/cisco-tcpdump/128841/1 "2018-04-20T09:18:35Z")

</div>

Hi  
I have this on my logstash.conf

input{  
file {  
path =\> "/tmp/tcpdump.out"  
}  
}

filter{  
grok{  
match =\> ["message", "%{TIMESTAMP\_ISO8601:timestamp} IP %{IP:srcIP}.%{INT:srcPort} \> %{IP:destIP}.%{INT:destPort}"]  
named\_captures\_only =\> true  
remove\_field =\> ["command", "host", "@version", "message", "@timestamp"]  
}

}  
output {  
elasticsearch {  
hosts =\> "elastic:9200"  
index =\> "tcpdump-%{+YYYY-MM-dd}"  
}  
stdout { codec =\> rubydebug }

It is work ok but i want to further break down the message

 ![tcpdump](https://us1.discourse-cdn.com/elastic/original/3X/3/a/3ab853a65974d0b08791fe7ceb443e427a101f55.png)

so i can analyse based on ip address , source ort and destination which i cannot at the moment at the message is displayed as a whole, I understand i miss some configuration but i do not know what ... Really appreciate if someone would help or give info .

this is on my kibana interface with more info

 ![tcpdump1](https://us1.discourse-cdn.com/elastic/original/3X/0/c/0c2caf9e6dc82ad417fc67f7b92e5f98a5438d69.png)

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [April 23, 2018, 8:43pm UTC](https://discuss.elastic.co/t/cisco-tcpdump/128841/2 "2018-04-23T20:43:35Z")

</div>

Have you looked into the grok and dissect filters? Or, for that matter, Packetbeat?

---

<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:** [May 21, 2018, 8:43pm UTC](https://discuss.elastic.co/t/cisco-tcpdump/128841/3 "2018-05-21T20:43:39Z")

</div>

Closed on May 21, 2018, 8:43pm UTC

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