# Logstash Successfully started but not index in created in Elastic Search

**URL:** https://discuss.elastic.co/t/logstash-successfully-started-but-not-index-in-created-in-elastic-search/151347
**Category:** Logstash
**Created:** [October 7, 2018, 10:44am UTC](https://discuss.elastic.co/t/logstash-successfully-started-but-not-index-in-created-in-elastic-search/151347 "2018-10-07T10:44:31Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Venkatraman\_Muthukri](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@Venkatraman\_Muthukri](https://discuss.elastic.co/u/Venkatraman_Muthukri)
#### Post date: [October 7, 2018, 10:44am UTC](https://discuss.elastic.co/t/logstash-successfully-started-but-not-index-in-created-in-elastic-search/151347/1 "2018-10-07T10:44:31Z")

</div>

Hi-All,

I am a newbie to logstash, When I tried to dump a csv file data by creating a index through logstash The console output says

"[2018-10-07T16:00:42,081][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9601}"  
but **index is not created in ES**. I don't know where might be the problem.

When i started in --debug mode it **loops** in below line:

[2018-10-07T16:00:46,761][DEBUG][logstash.pipeline] Pushing flush onto pipeline {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x526bc1e2 sleep\>"}

[2018-10-07T16:00:50,532][DEBUG][logstash.instrument.periodicpoller.cgroup] One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu

[2018-10-07T16:00:50,552][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}

**Refer my attached logstash.conf and log file**

[https://goo.gl/5hdepG](https://goo.gl/5hdepG)  
Anyone help me!!!!

---

<div class="post-metadata">

### Author: ![balumurari1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/balumurari1/32/39203_2.png) [@balumurari1](https://discuss.elastic.co/u/balumurari1)
#### Post date: [October 8, 2018, 1:56pm UTC](https://discuss.elastic.co/t/logstash-successfully-started-but-not-index-in-created-in-elastic-search/151347/2 "2018-10-08T13:56:11Z")

</div>

Hi,  
Refer to this link for windows,

> [@Load csv file in logstash](https://discuss.elastic.co/t/load-csv-file-in-logstash/151319):
>
> Please provide sample examples to upload csv, pdf files in logstash

---

<div class="post-metadata">

### Author: ![Rakeshcse590](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rakeshcse590/32/20893_2.png) [@Rakeshcse590](https://discuss.elastic.co/u/Rakeshcse590)
#### Post date: [October 8, 2018, 5:34pm UTC](https://discuss.elastic.co/t/logstash-successfully-started-but-not-index-in-created-in-elastic-search/151347/3 "2018-10-08T17:34:55Z")

</div>

@balumurari1 I tried with the suggested input in conf file but getting the same error as venkatraman\_Muthukri.

Thanks,  
Rakesh

---

<div class="post-metadata">

### Author: ![balumurari1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/balumurari1/32/39203_2.png) [@balumurari1](https://discuss.elastic.co/u/balumurari1)
#### Post date: [October 9, 2018, 4:25am UTC](https://discuss.elastic.co/t/logstash-successfully-started-but-not-index-in-created-in-elastic-search/151347/4 "2018-10-09T04:25:19Z")

</div>

Hi Rakesh,

If you could provide the input code, then it is easy to identify the error.

Regards,  
Balu

---

<div class="post-metadata">

### Author: ![Venkatraman\_Muthukri](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@Venkatraman\_Muthukri](https://discuss.elastic.co/u/Venkatraman_Muthukri)
#### Post date: [October 9, 2018, 7:44am UTC](https://discuss.elastic.co/t/logstash-successfully-started-but-not-index-in-created-in-elastic-search/151347/5 "2018-10-09T07:44:11Z")

</div>

I use Mac machine for stashing

---

<div class="post-metadata">

### Author: ![mariakavya](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@mariakavya](https://discuss.elastic.co/u/mariakavya)
#### Post date: [October 10, 2018, 3:01am UTC](https://discuss.elastic.co/t/logstash-successfully-started-but-not-index-in-created-in-elastic-search/151347/6 "2018-10-10T03:01:20Z")

</div>

Hi All,

I have installed elk stack in windows 2012 R2 server ad see the same issue. Can some help me in resolving it?

---

<div class="post-metadata">

### Author: ![leodecavalcante](https://avatars.discourse-cdn.com/v4/letter/l/41988e/32.png) [@leodecavalcante](https://discuss.elastic.co/u/leodecavalcante)
#### Post date: [October 12, 2018, 8:23pm UTC](https://discuss.elastic.co/t/logstash-successfully-started-but-not-index-in-created-in-elastic-search/151347/7 "2018-10-12T20:23:29Z")

</div>

I'm having the same problem with the cgroup not found.

[2018-10-12T17:04:46,096][DEBUG][logstash.config.source.local.configpathloader] Reading config file {:config\_file=\>"E:/Documentos/Faculdade/TCC/data/logstash\_mapas.config"}  
[2018-10-12T17:04:46,252][DEBUG][logstash.agent] Converging pipelines state {:actions\_count=\>1}  
[2018-10-12T17:04:46,282][DEBUG][logstash.agent] Executing action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main}  
**[2018-10-12T17:04:50,278][DEBUG][logstash.instrument.periodicpoller.cgroup] One or more required cgroup files or directories not found: /proc/self/cgroup, /sys/fs/cgroup/cpuacct, /sys/fs/cgroup/cpu**  
[2018-10-12T17:04:50,927][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-10-12T17:04:50,944][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-10-12T17:04:53,698][DEBUG][logstash.plugins.registry] On demand adding plugin to the registry {:name=\>"file", :type=\>"input", :class=\>LogStash::Inputs::File}  
[2018-10-12T17:04:54,264][DEBUG][logstash.plugins.registry] On demand adding plugin to the registry {:name=\>"plain", :type=\>"codec", :class=\>LogStash::Codecs::Plain}

The logstash.config file:

```
input {
	file {
	 	path => "E:/Documentos\Faculdade\TCC\data\mapas.csv"
	 	start_position => "beginning"
	 	sincedb_path => "E:/Documentos\Faculdade\TCC\data\null"
	}
}
filter {
	csv {
		separator => ","

		columns => ["cod_mapa_planta", "reg_adm", "org_set_origem", "num_mapoteca", "gaveta_mapoteca", "prancha_mapoteca", "titulo_mapa_planta", "endereco_mapa_planta_antigo", "bairro_mapa_planta_antigo", "municipio_uf_antigo", "cep_mapa_planta_antigo", "endereco_mapa_planta_novo", "bairro_mapa_planta_novo", "municipio_uf_novo", "cep_mapa_planta_novo", "tipologia_mapa_planta", "trecho_tipologia", "municipio_tipologia", "num_processo_tipologia", "supervisor_origem_tipologia", "org_emissor_origem_tipologia", "dimensao_imovel_area_total_tipologia", "confrontamento_tipologia", "autor_tipologia", "original_copia_tipologia", "data_tipologia", "escala", "num_folha", "descritores", "planta", "armario", "tela", "tubo", "quant", "observacao", "data_cadastramento", "cadastrador", "sel", "latitude", "longitude"]
	}

	mutate {convert => ["cod_mapa_planta", "integer"]}
	mutate {convert => ["num_mapoteca", "integer"]}
	mutate {convert => ["gaveta_mapoteca", "integer"]}
	mutate {convert => ["quant", "integer"]}
	mutate {convert => ["latitude", "float"]}
	mutate {convert => ["longitude", "float"]}

}
output {
	elasticsearch {
		hosts => "localhost"
		index => "mapas"
		document_type => "mapas_registrados"
	}
	stdout{}
}

```

I'm with logstash-6.4.2 and Win 10.

---

<div class="post-metadata">

### Author: ![balumurari1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/balumurari1/32/39203_2.png) [@balumurari1](https://discuss.elastic.co/u/balumurari1)
#### Post date: [October 15, 2018, 10:52am UTC](https://discuss.elastic.co/t/logstash-successfully-started-but-not-index-in-created-in-elastic-search/151347/8 "2018-10-15T10:52:58Z")

</div>

Hello,  
As observed from your input code, cahnge the path as shown below

path =\> "E:/Documentos/Faculdade/TCC/data/mapas.csv"

since db path to

sincedb\_path =\> "NUL",

hope this works

---

<div class="post-metadata">

### Author: ![leodecavalcante](https://avatars.discourse-cdn.com/v4/letter/l/41988e/32.png) [@leodecavalcante](https://discuss.elastic.co/u/leodecavalcante)
#### Post date: [October 16, 2018, 12:25am UTC](https://discuss.elastic.co/t/logstash-successfully-started-but-not-index-in-created-in-elastic-search/151347/9 "2018-10-16T00:25:05Z")

</div>

That worked! Thank you very much!

---

<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 13, 2018, 12:25am UTC](https://discuss.elastic.co/t/logstash-successfully-started-but-not-index-in-created-in-elastic-search/151347/10 "2018-11-13T00:25:06Z")

</div>

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