# Read from pcap file VS Not read from pcap file

**URL:** <https://discuss.elastic.co/t/read-from-pcap-file-vs-not-read-from-pcap-file/196280>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [August 22, 2019, 9:13am UTC](https://discuss.elastic.co/t/read-from-pcap-file-vs-not-read-from-pcap-file/196280 "2019-08-22T09:13:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyhong](https://avatars.discourse-cdn.com/v4/letter/h/3bc359/32.png) [@hyhong](https://discuss.elastic.co/u/hyhong)\
**Post date:** [August 22, 2019, 9:13am UTC](https://discuss.elastic.co/t/read-from-pcap-file-vs-not-read-from-pcap-file/196280/1 "2019-08-22T09:13:22Z")

</div>

First,I use follow command read data to es:  
./packetbeat -e -c packetbeat-redis.yml

Second,I use follow command generate a trace.pcap file,and read from trace.pcap to es.  
./packetbeat -c packetbeat-redis.yml -dump trace.pcap -d "publish"

But,first loss some data,second is not loss.By reason first is should the same as second.

---

<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:** [September 19, 2019, 9:13am UTC](https://discuss.elastic.co/t/read-from-pcap-file-vs-not-read-from-pcap-file/196280/2 "2019-09-19T09:13:28Z")

</div>

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