# How to ignore some index

**URL:** <https://discuss.elastic.co/t/how-to-ignore-some-index/154980>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [November 1, 2018, 9:17am UTC](https://discuss.elastic.co/t/how-to-ignore-some-index/154980 "2018-11-01T09:17:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhsankar](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mhsankar](https://discuss.elastic.co/u/mhsankar)\
**Post date:** [November 1, 2018, 9:17am UTC](https://discuss.elastic.co/t/how-to-ignore-some-index/154980/1 "2018-11-01T09:17:22Z")

</div>

Hi  
im using Packetbeat to log my request.  
it log all elastic request.  
i want to ignore all index packetbeat-\* .  
how can i do it?

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [November 1, 2018, 5:21pm UTC](https://discuss.elastic.co/t/how-to-ignore-some-index/154980/2 "2018-11-01T17:21:55Z")

</div>

@mhsankar what exactly do you mean by ignoring those indexes? Do you want to ignore them while querying, or do you not want to record data to some indexes?

---

<div class="post-metadata">

**Author:** ![mhsankar](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mhsankar](https://discuss.elastic.co/u/mhsankar)\
**Post date:** [November 4, 2018, 7:10am UTC](https://discuss.elastic.co/t/how-to-ignore-some-index/154980/3 "2018-11-04T07:10:40Z")

</div>

im using Packetbeat for record my users requested query  
but when i want to see my log record . it save in packetBeat-\* index  
so i should send a request to elastic for retrive my log.  
so save a log for selecting from PacketBeat index.  
i dont want to log PacketBeat-\* indexes.

---

<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:** [December 2, 2018, 7:10am UTC](https://discuss.elastic.co/t/how-to-ignore-some-index/154980/4 "2018-12-02T07:10:42Z")

</div>

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