# Deleting all records with computer\_name: xyz

**URL:** <https://discuss.elastic.co/t/deleting-all-records-with-computer-name-xyz/129635>\
**Category:** Elasticsearch\
**Created:** [April 26, 2018, 10:06am UTC](https://discuss.elastic.co/t/deleting-all-records-with-computer-name-xyz/129635 "2018-04-26T10:06:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![L33T](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@L33T](https://discuss.elastic.co/u/L33T)\
**Post date:** [April 26, 2018, 10:06am UTC](https://discuss.elastic.co/t/deleting-all-records-with-computer-name-xyz/129635/1 "2018-04-26T10:06:26Z")

</div>

Hi,

I think i have alot of duplicate data in my indexes due to a re-install of elastic. Can anyone help me delete all records with a specific computer\_name?

Cheers,

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [May 4, 2018, 3:04pm UTC](https://discuss.elastic.co/t/deleting-all-records-with-computer-name-xyz/129635/2 "2018-05-04T15:04:31Z")

</div>

The [Delete by query](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html) functionality should work in this case

---

<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:** [June 1, 2018, 3:04pm UTC](https://discuss.elastic.co/t/deleting-all-records-with-computer-name-xyz/129635/3 "2018-06-01T15:04:37Z")

</div>

Closed on June 1, 2018, 3:04pm UTC

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