# Reimporting data at the start of a project

**URL:** <https://discuss.elastic.co/t/reimporting-data-at-the-start-of-a-project/272541>\
**Category:** Elasticsearch\
**Created:** [May 10, 2021, 6:50am UTC](https://discuss.elastic.co/t/reimporting-data-at-the-start-of-a-project/272541 "2021-05-10T06:50:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lachlan.simpson](https://avatars.discourse-cdn.com/v4/letter/l/50afbb/32.png) [@lachlan.simpson](https://discuss.elastic.co/u/lachlan.simpson)\
**Post date:** [May 10, 2021, 6:50am UTC](https://discuss.elastic.co/t/reimporting-data-at-the-start-of-a-project/272541/1 "2021-05-10T06:50:41Z")

</div>

Have just finished the proof of concept (and learning) stage of ELK 7.12.1 installation.

At the moment we are using a relatively simple `filebeat`-\>`logstash`-\>`elasticsearch`-\>`kibana` set up.

During that process, I made some errors in my `logstash` config files which means our first, default, index, has not only imported things in ways that I don't want, but unforced errors on my part means some very weird entries filled with unicode have crept into that index.

 ![Screenshot 2021-05-10 164815](https://us1.discourse-cdn.com/elastic/original/3X/8/d/8d7bbcd8e21bda7754f8f4d6f5405b92c6e8e7d1.png)

There isn't much data - less than 10GB.

Now that I have a `logstash` pipeline that I am happy with - and can see working as I want - I'd like to reimport all the original data. I've looked at reindexing, but the mistakes I made seem to have made some horror errors and given how small the data set is, I'd like to reimport.

What's the best method for doing this? I can't see anything specific about the reimporting of data.

I presume one method would be to nuke the initial index and restart all `filebeat` clients but I was wondering if there was something less dramatic?

---

<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:** [May 10, 2021, 6:54am UTC](https://discuss.elastic.co/t/reimporting-data-at-the-start-of-a-project/272541/2 "2021-05-10T06:54:41Z")

</div>

Reimporting is the same as indexing from scratch.

> [@lachlan.simpson](#):
>
> I presume one method would be to nuke the initial index and restart all `filebeat` clients but I was wondering if there was something less dramatic?

That's the best option, given the changes that you have made to the ingestion pipeline.

---

<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 7, 2021, 6:55am UTC](https://discuss.elastic.co/t/reimporting-data-at-the-start-of-a-project/272541/3 "2021-06-07T06:55:23Z")

</div>

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