# Indexing new data automatically from a folder in desktop to the existing index in elasticstack

**URL:** <https://discuss.elastic.co/t/indexing-new-data-automatically-from-a-folder-in-desktop-to-the-existing-index-in-elasticstack/157106>\
**Category:** Elasticsearch\
**Created:** [November 16, 2018, 4:47pm UTC](https://discuss.elastic.co/t/indexing-new-data-automatically-from-a-folder-in-desktop-to-the-existing-index-in-elasticstack/157106 "2018-11-16T16:47:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![samnayak](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@samnayak](https://discuss.elastic.co/u/samnayak)\
**Post date:** [November 16, 2018, 4:47pm UTC](https://discuss.elastic.co/t/indexing-new-data-automatically-from-a-folder-in-desktop-to-the-existing-index-in-elasticstack/157106/1 "2018-11-16T16:47:28Z")

</div>

Hi All,

I am a CSE grad student and I use Elasticstack for my research. Could you please help me with below question?

Can I index the data automatically from a folder in the computer to Elasticstack so that when new data comes into the same folder in the computer, data would add automatically to the existing index? So I don't have to create an index again for similar data.

In other words, how can I set up the config file to watch the folder for new data?

If you could provide me some link/tutorial or reference that would be helpful.

Thanks,

---

<div class="post-metadata">

**Author:** ![Constantine\_Abayeu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/constantine_abayeu/32/35442_2.png) [@Constantine\_Abayeu](https://discuss.elastic.co/u/Constantine_Abayeu)\
**Post date:** [November 16, 2018, 5:01pm UTC](https://discuss.elastic.co/t/indexing-new-data-automatically-from-a-folder-in-desktop-to-the-existing-index-in-elasticstack/157106/2 "2018-11-16T17:01:52Z")

</div>

You can look at file beat: [https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-getting-started.html](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-getting-started.html)

I am unsure if this is exactly what you are looking for, but should be something to check out for sure.

Is your data added to new files within a folder, or is it added to the same file?

---

<div class="post-metadata">

**Author:** ![samnayak](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@samnayak](https://discuss.elastic.co/u/samnayak)\
**Post date:** [November 16, 2018, 6:42pm UTC](https://discuss.elastic.co/t/indexing-new-data-automatically-from-a-folder-in-desktop-to-the-existing-index-in-elasticstack/157106/3 "2018-11-16T18:42:53Z")

</div>

Thank You!

Data added to a new file within a folder.

---

<div class="post-metadata">

**Author:** ![Constantine\_Abayeu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/constantine_abayeu/32/35442_2.png) [@Constantine\_Abayeu](https://discuss.elastic.co/u/Constantine_Abayeu)\
**Post date:** [November 16, 2018, 6:54pm UTC](https://discuss.elastic.co/t/indexing-new-data-automatically-from-a-folder-in-desktop-to-the-existing-index-in-elasticstack/157106/4 "2018-11-16T18:54:24Z")

</div>

Ok, Filebeat should work for you then!

You can wildcard the file name and get the contents of it.

---

<div class="post-metadata">

**Author:** ![samnayak](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@samnayak](https://discuss.elastic.co/u/samnayak)\
**Post date:** [November 16, 2018, 6:56pm UTC](https://discuss.elastic.co/t/indexing-new-data-automatically-from-a-folder-in-desktop-to-the-existing-index-in-elasticstack/157106/5 "2018-11-16T18:56:41Z")

</div>

Thank you so much!

I am looking in to it.

---

<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 14, 2018, 6:56pm UTC](https://discuss.elastic.co/t/indexing-new-data-automatically-from-a-folder-in-desktop-to-the-existing-index-in-elasticstack/157106/6 "2018-12-14T18:56:44Z")

</div>

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