# Logstash not create index in Elasticsearch

**URL:** <https://discuss.elastic.co/t/logstash-not-create-index-in-elasticsearch/343429>\
**Category:** Logstash\
**Created:** [September 20, 2023, 8:19am UTC](https://discuss.elastic.co/t/logstash-not-create-index-in-elasticsearch/343429 "2023-09-20T08:19:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raffy\_Revanza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raffy_revanza/32/125827_2.png) [@Raffy\_Revanza](https://discuss.elastic.co/u/Raffy_Revanza)\
**Post date:** [September 20, 2023, 8:19am UTC](https://discuss.elastic.co/t/logstash-not-create-index-in-elasticsearch/343429/1 "2023-09-20T08:19:06Z")

</div>

So, i want to send my CSV file in my laptop to elasticsearch to build a dashboard. I have configured the conf files and it success on my logstash, but the index not readable by elastic ? why ?

here's the logs "response: {"index"=\>{"\_index"=\>"asum-2023.09.20", "\_id"=\>nil, "status"=\>404, "error"=\>{"type"=\>"index\_not\_found\_exception", "reason"=\>"no such index [asum-2023.09.20] and [action.auto\_create\_index] ([.monitoring\*,.watches,.triggered\_watches,.watcher-history\*,.ml\*]) doesn't match", "index\_uuid"=\>"_na_", "index"=\>"asum-2023.09.20"}}}"

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [September 20, 2023, 10:49am UTC](https://discuss.elastic.co/t/logstash-not-create-index-in-elasticsearch/343429/2 "2023-09-20T10:49:40Z")

</div>

Hi @Raffy_Revanza,

Welcome to the community! It might be that logstash doesn't have access to that index. Can you share your Logstash config?

---

<div class="post-metadata">

**Author:** ![Raffy\_Revanza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raffy_revanza/32/125827_2.png) [@Raffy\_Revanza](https://discuss.elastic.co/u/Raffy_Revanza)\
**Post date:** [September 21, 2023, 1:58am UTC](https://discuss.elastic.co/t/logstash-not-create-index-in-elasticsearch/343429/3 "2023-09-21T01:58:16Z")

</div>

Here's my conf file :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/3/0328b69d09c7b4f0a014a04d3eb825af074f33b1.png)

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [September 21, 2023, 7:15am UTC](https://discuss.elastic.co/t/logstash-not-create-index-in-elasticsearch/343429/4 "2023-09-21T07:15:15Z")

</div>

Most likely the user raffyask doesn't have rights to create the index. Go to Kibana and add.

---

<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:** [October 19, 2023, 7:16am UTC](https://discuss.elastic.co/t/logstash-not-create-index-in-elasticsearch/343429/5 "2023-10-19T07:16:03Z")

</div>

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