# ElasticAgent not creating new index

**URL:** <https://discuss.elastic.co/t/elasticagent-not-creating-new-index/345326>\
**Category:** Elastic Agent\
**Created:** [October 18, 2023, 8:41pm UTC](https://discuss.elastic.co/t/elasticagent-not-creating-new-index/345326 "2023-10-18T20:41:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cara410](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@Cara410](https://discuss.elastic.co/u/Cara410)\
**Post date:** [October 18, 2023, 8:41pm UTC](https://discuss.elastic.co/t/elasticagent-not-creating-new-index/345326/1 "2023-10-18T20:41:37Z")

</div>

Hello,  
I just migrated from using Filebeat to using Elastic Agent. I am using the custom logs integration to ingest some custom logs I have been able to get the logs into the generic default logs in Discover and have the logs show the correct tag. The problem I am running into is that it won't create a new index to show those specific logs separately. I have index component and templates set up to have the data stream but I am not able to find or create an index or data view.

Can someone please help me figure out how to create a new index specifically for these tagged files? Any suggestion would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Cara410](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@Cara410](https://discuss.elastic.co/u/Cara410)\
**Post date:** [October 18, 2023, 9:09pm UTC](https://discuss.elastic.co/t/elasticagent-not-creating-new-index/345326/2 "2023-10-18T21:09:35Z")

</div>

Not sure how but I managed to get it working 🤷‍♀️  
I created a new data view and it was located under logs-generic-name of index now

---

<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:** [November 15, 2023, 9:10pm UTC](https://discuss.elastic.co/t/elasticagent-not-creating-new-index/345326/3 "2023-11-15T21:10:13Z")

</div>

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