# Below logstash file is not creating the index with the name i specified

**URL:** <https://discuss.elastic.co/t/below-logstash-file-is-not-creating-the-index-with-the-name-i-specified/63986>\
**Category:** Logstash\
**Created:** [October 26, 2016, 10:06am UTC](https://discuss.elastic.co/t/below-logstash-file-is-not-creating-the-index-with-the-name-i-specified/63986 "2016-10-26T10:06:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![asac2](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@asac2](https://discuss.elastic.co/u/asac2)\
**Post date:** [October 26, 2016, 10:06am UTC](https://discuss.elastic.co/t/below-logstash-file-is-not-creating-the-index-with-the-name-i-specified/63986/1 "2016-10-26T10:06:58Z")

</div>

input {  
stdin {  
type =\> "stdin-type"  
}  
file {  
path =\> "D:/Attachments/plunk-results.csv"  
start\_position =\> "beginning"  
}  
}

filter {  
csv {  
columns =\> ["IHS\_URL","count","90Percentile","Average","Minimum","Maximum"]  
separator =\> ","  
}  
}

output {  
elasticsearch { action =\> "index"  
hosts =\> "localhost"  
index =\> "amanindex"  
workers =\> 1}  
}

---

<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:** [October 26, 2016, 10:29am UTC](https://discuss.elastic.co/t/below-logstash-file-is-not-creating-the-index-with-the-name-i-specified/63986/2 "2016-10-26T10:29:03Z")

</div>

Are you asking for help or just telling us it's not working?

If you are asking for help, is it creating anything?  
What version are you on?  
Are there other config files being used?  
Have you make sure that there is any output using stdout?

---

<div class="post-metadata">

**Author:** ![asac2](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@asac2](https://discuss.elastic.co/u/asac2)\
**Post date:** [October 26, 2016, 10:48am UTC](https://discuss.elastic.co/t/below-logstash-file-is-not-creating-the-index-with-the-name-i-specified/63986/3 "2016-10-26T10:48:38Z")

</div>

Hi Mark,

I am using 2.4.90 version. i am using the single this is the single config file i am using. While running the bat file i am getting the below output but in kibana index is not getting created.

C:\Users\ash\Desktop\ELK\logstash-2.4.0\logstash-2.4.0\bin\>logstash -f logstash.txt  
Settings: Default pipeline workers: 4  
Pipeline main started

any help in this will be great.

Regards  
Aman

---

<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:** [October 26, 2016, 11:06am UTC](https://discuss.elastic.co/t/below-logstash-file-is-not-creating-the-index-with-the-name-i-specified/63986/4 "2016-10-26T11:06:43Z")

</div>

Have a look at [https://www.elastic.co/guide/en/logstash/current/plugins-inputs-file.html#\_tracking\_of\_current\_position\_in\_watched\_files](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-file.html#_tracking_of_current_position_in_watched_files)

---

<div class="post-metadata">

**Author:** ![asac2](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@asac2](https://discuss.elastic.co/u/asac2)\
**Post date:** [October 26, 2016, 3:36pm UTC](https://discuss.elastic.co/t/below-logstash-file-is-not-creating-the-index-with-the-name-i-specified/63986/5 "2016-10-26T15:36:07Z")

</div>

Thanks it worked. Can you please tell me if i create multiple index in single config file with different input locations.

Regards  
Aman

---

<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:** [October 26, 2016, 8:15pm UTC](https://discuss.elastic.co/t/below-logstash-file-is-not-creating-the-index-with-the-name-i-specified/63986/6 "2016-10-26T20:15:52Z")

</div>

> [@asac2](#):
>
> Can you please tell me if i create multiple index in single config file with different input locations.

Tell you what?

---

<div class="post-metadata">

**Author:** ![asac2](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@asac2](https://discuss.elastic.co/u/asac2)\
**Post date:** [October 26, 2016, 8:35pm UTC](https://discuss.elastic.co/t/below-logstash-file-is-not-creating-the-index-with-the-name-i-specified/63986/7 "2016-10-26T20:35:22Z")

</div>

> [@warkolm](#):
>
> Can you please tell me if i create multiple index in single config file with different input locations.

Its mentioned.. read full line.

---

<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:** [July 6, 2017, 4:32am UTC](https://discuss.elastic.co/t/below-logstash-file-is-not-creating-the-index-with-the-name-i-specified/63986/8 "2017-07-06T04:32:31Z")

</div>


