# Logstash pipeline is not strating when I run it for second time

**URL:** <https://discuss.elastic.co/t/logstash-pipeline-is-not-strating-when-i-run-it-for-second-time/82745>\
**Category:** Logstash\
**Created:** [April 18, 2017, 4:05pm UTC](https://discuss.elastic.co/t/logstash-pipeline-is-not-strating-when-i-run-it-for-second-time/82745 "2017-04-18T16:05:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shravan\_kumar](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@shravan\_kumar](https://discuss.elastic.co/u/shravan_kumar)\
**Post date:** [April 18, 2017, 4:05pm UTC](https://discuss.elastic.co/t/logstash-pipeline-is-not-strating-when-i-run-it-for-second-time/82745/1 "2017-04-18T16:05:13Z")

</div>

Hi,  
When I run logstash config file, I can see the index created in elastic search. But when I run it again with few changes( like changing index name) I can see logstash pipeline has started but the index is not created in elastic search.

Can anybody help me on this.

---

<div class="post-metadata">

**Author:** ![luciferdude](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@luciferdude](https://discuss.elastic.co/u/luciferdude)\
**Post date:** [April 18, 2017, 5:25pm UTC](https://discuss.elastic.co/t/logstash-pipeline-is-not-strating-when-i-run-it-for-second-time/82745/2 "2017-04-18T17:25:27Z")

</div>

How are you checking if index is created?. You will have to manually create the index if you are using Kibana as Visualisation GUI.

Go to Management -\> Index Pattern -\> Add New . Type your index name and you should be able to "create" index. Once index created you should be able to see logs flowing in.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [April 20, 2017, 5:55am UTC](https://discuss.elastic.co/t/logstash-pipeline-is-not-strating-when-i-run-it-for-second-time/82745/3 "2017-04-20T05:55:53Z")

</div>

> Go to Management -\> Index Pattern -\> Add New . Type your index name and you should be able to "create" index. Once index created you should be able to see logs flowing in.

That creates an _index pattern_. Individual indexes are not created like this.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [April 20, 2017, 5:57am UTC](https://discuss.elastic.co/t/logstash-pipeline-is-not-strating-when-i-run-it-for-second-time/82745/4 "2017-04-20T05:57:06Z")

</div>

> When I run logstash config file, I can see the index created in Elasticsearch. But when I run it again with few changes( like changing index name) I can see logstash pipeline has started but the index is not created in Elasticsearch.

Since you're not telling us what your configuration looks like we can only guess, and my guess is that you have a file input. Logstash won't process the same file twice unless you tell it to. Read more about `sincedb_path` and `start_position` in the file input's documentation.

---

<div class="post-metadata">

**Author:** ![shravan\_kumar](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@shravan\_kumar](https://discuss.elastic.co/u/shravan_kumar)\
**Post date:** [April 20, 2017, 10:58am UTC](https://discuss.elastic.co/t/logstash-pipeline-is-not-strating-when-i-run-it-for-second-time/82745/5 "2017-04-20T10:58:02Z")

</div>

Yes. Logstash not processing the same file even If I change the index name in output plugin.

---

<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:** [May 18, 2017, 11:06am UTC](https://discuss.elastic.co/t/logstash-pipeline-is-not-strating-when-i-run-it-for-second-time/82745/6 "2017-05-18T11:06:57Z")

</div>

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