# Tshark output to ElasticSearch

**URL:** <https://discuss.elastic.co/t/tshark-output-to-elasticsearch/186736>\
**Category:** Elasticsearch\
**Created:** [June 20, 2019, 5:25pm UTC](https://discuss.elastic.co/t/tshark-output-to-elasticsearch/186736 "2019-06-20T17:25:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cks](https://avatars.discourse-cdn.com/v4/letter/c/8edcca/32.png) [@cks](https://discuss.elastic.co/u/cks)\
**Post date:** [June 20, 2019, 5:25pm UTC](https://discuss.elastic.co/t/tshark-output-to-elasticsearch/186736/1 "2019-06-20T17:25:35Z")

</div>

ES 7.1.1/centos7, Tshark 2.6  
I am trying to ingest tshark data (json format) into Elastic using logstash. I am using tshark 2.6.6. however I understand version 3.0 has ability to generate mapping for elastic search Tried to follow the steps in this blog:  
[https://www.elastic.co/blog/analyzing-network-packets-with-wireshark-elasticsearch-and-kibana](https://www.elastic.co/blog/analyzing-network-packets-with-wireshark-elasticsearch-and-kibana)  
However ran into errors while setting index template as in the blog. Can packetbeat continuously capture pcap data similar to tshark and send to Elastic ?

---

<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 18, 2019, 5:25pm UTC](https://discuss.elastic.co/t/tshark-output-to-elasticsearch/186736/2 "2019-07-18T17:25:45Z")

</div>

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