# Index packetbeat

**URL:** <https://discuss.elastic.co/t/index-packetbeat/79361>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [March 21, 2017, 7:42am UTC](https://discuss.elastic.co/t/index-packetbeat/79361 "2017-03-21T07:42:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![korsdecaying](https://avatars.discourse-cdn.com/v4/letter/k/dbc845/32.png) [@korsdecaying](https://discuss.elastic.co/u/korsdecaying)\
**Post date:** [March 21, 2017, 7:42am UTC](https://discuss.elastic.co/t/index-packetbeat/79361/1 "2017-03-21T07:42:59Z")

</div>

How do I determine which index the data from the packetbeat is written to. For some reason, they created a lot. And what query can I read the data from this index. As I understand it is necessary to determine what types of data are in this index and request by any type. But how to find out what types of data inside!? Thanks

 ![](https://us1.discourse-cdn.com/elastic/original/3X/a/8/a8b4ed3100c309f79e9c53b7319c6977ebfa77f4.jpg)

---

<div class="post-metadata">

**Author:** ![korsdecaying](https://avatars.discourse-cdn.com/v4/letter/k/dbc845/32.png) [@korsdecaying](https://discuss.elastic.co/u/korsdecaying)\
**Post date:** [March 21, 2017, 8:03am UTC](https://discuss.elastic.co/t/index-packetbeat/79361/2 "2017-03-21T08:03:03Z")

</div>

In fact my task is simply to generate a query that will return a JSON records from the index which in turn is filled from the packetbeat

---

<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:** [March 21, 2017, 8:25am UTC](https://discuss.elastic.co/t/index-packetbeat/79361/3 "2017-03-21T08:25:25Z")

</div>

Packetbeat creates the `packetbeat-TIMESTAMP` indices.

Install Kibana, have a look at the data. Then build some visualisations and copy the queries it creates.

---

<div class="post-metadata">

**Author:** ![korsdecaying](https://avatars.discourse-cdn.com/v4/letter/k/dbc845/32.png) [@korsdecaying](https://discuss.elastic.co/u/korsdecaying)\
**Post date:** [March 21, 2017, 8:54am UTC](https://discuss.elastic.co/t/index-packetbeat/79361/4 "2017-03-21T08:54:30Z")

</div>

Thank you. It is unclear by what principle he creates them. Every time a packetbeat is started or it writes to one continuously. At me why that that there were two indexes though I already launched packetbeat after that

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [March 21, 2017, 2:01pm UTC](https://discuss.elastic.co/t/index-packetbeat/79361/5 "2017-03-21T14:01:01Z")

</div>

The index is created based on the timestamp of the network event. Best have a look at the events which are in "older" indices. This should give you some details on what events these are and why they have an older timestamp.

---

<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:** [April 18, 2017, 2:01pm UTC](https://discuss.elastic.co/t/index-packetbeat/79361/6 "2017-04-18T14:01:05Z")

</div>

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