# How to parse live continous logs from iptables using ulog which are in pcap format?

**URL:** <https://discuss.elastic.co/t/how-to-parse-live-continous-logs-from-iptables-using-ulog-which-are-in-pcap-format/28017>\
**Category:** Logstash\
**Created:** [August 25, 2015, 2:33pm UTC](https://discuss.elastic.co/t/how-to-parse-live-continous-logs-from-iptables-using-ulog-which-are-in-pcap-format/28017 "2015-08-25T14:33:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akshat\_Kakkar](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Akshat\_Kakkar](https://discuss.elastic.co/u/Akshat_Kakkar)\
**Post date:** [August 25, 2015, 2:33pm UTC](https://discuss.elastic.co/t/how-to-parse-live-continous-logs-from-iptables-using-ulog-which-are-in-pcap-format/28017/1 "2015-08-25T14:33:59Z")

</div>

I am logging from iptables using ulog pcap plugin. I am using pcap mode as this is fastest possible option with ulog. I am looking at traffic rates of the orders of around 15-20K/sec. I want to parse this live pcap output using logstash and then use elastic search and kibana to provide a nice gui for the same. I am unable to find a way to do this using logstash. Please help ....

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 26, 2015, 6:43am UTC](https://discuss.elastic.co/t/how-to-parse-live-continous-logs-from-iptables-using-ulog-which-are-in-pcap-format/28017/2 "2015-08-26T06:43:47Z")

</div>

[Packetbeat](https://www.elastic.co/guide/en/beats/packetbeat/current/index.html) can do pcap, but Logstash cannot.

---

<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 6, 2017, 5:30am UTC](https://discuss.elastic.co/t/how-to-parse-live-continous-logs-from-iptables-using-ulog-which-are-in-pcap-format/28017/3 "2017-07-06T05:30:51Z")

</div>

Closed on July 6, 2017, 5:30am UTC


