# Created a new config file, no errors but not loaded in Kibana

**URL:** <https://discuss.elastic.co/t/created-a-new-config-file-no-errors-but-not-loaded-in-kibana/180796>\
**Category:** Logstash\
**Created:** [May 13, 2019, 11:28am UTC](https://discuss.elastic.co/t/created-a-new-config-file-no-errors-but-not-loaded-in-kibana/180796 "2019-05-13T11:28:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kpks](https://avatars.discourse-cdn.com/v4/letter/k/9de053/32.png) [@kpks](https://discuss.elastic.co/u/kpks)\
**Post date:** [May 13, 2019, 11:28am UTC](https://discuss.elastic.co/t/created-a-new-config-file-no-errors-but-not-loaded-in-kibana/180796/1 "2019-05-13T11:28:56Z")

</div>

I have a csv file and I created a new configuration file for Logstash:

> input {  
> file {  
> path =\> "/Users/naka/Documents/exploringELK/cims1819.csv"  
> type =\> "csv"  
> start\_position =\> "beginning" } }  
> filter { csv { columns =\> ["ReferenceID","Vtype","MasterRefID","Branch","PostedBy","LPName","Scity","Sstate","Dcity","Dstate","TonnageRequested","TonnagePlaced", "LPRate" ,"SalesQuoteID","L1Name","L1BidQuotedBy","L1Amount","L1Margin","L1ATH","L1BidingDateTime","L2Name","L2BidQuotedBy","L2Amount","L2Margin","L2ATH","L2BidingDateTime","L3Name","L3BidQuotedBy","L3Amount","L3Margin","L3ATH","L3BidingDateTime","L4Name","L4BidQuotedBy","L4Amount","L4Margin","L4ATH","L4BidingDateTime","BookingID"] separator =\> "," } }  
> output {  
> elasticsearch { hosts =\> ["localhost:9200"] }  
> }

I don't get any error messages when I launch with

> logstash -f cimsLogstash.conf

However I don't get the prompt back on my terminal and the csv file doesn't get loaded in Kibana.

This is just my second day with ELK.

Output from the command:

> Sending Logstash logs to /usr/local/Cellar/logstash/6.7.0/libexec/logs which is now configured via log4j2.properties  
> [2019-05-13T16:43:15,857][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
> [2019-05-13T16:43:15,887][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"6.7.0"}  
> [2019-05-13T16:43:26,836][INFO][logstash.pipeline] Starting pipeline {:pipeline\_id=\>"main", "pipeline.workers"=\>4, "pipeline.batch.size"=\>125, "pipeline.batch.delay"=\>50}  
> [2019-05-13T16:43:27,474][INFO][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {:changes=\>{:removed=\>, :added=\>[[http://localhost:9200/](http://localhost:9200/)]}}  
> [2019-05-13T16:43:27,787][WARN][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=\>"[http://localhost:9200/](http://localhost:9200/)"}  
> [2019-05-13T16:43:27,874][INFO][logstash.outputs.elasticsearch] ES Output version determined {:es\_version=\>6}  
> [2019-05-13T16:43:27,878][WARN][logstash.outputs.elasticsearch] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document \_type {:es\_version=\>6}  
> [2019-05-13T16:43:27,919][INFO][logstash.outputs.elasticsearch] Using default mapping template  
> [2019-05-13T16:43:27,922][INFO][logstash.outputs.elasticsearch] New Elasticsearch output {:class=\>"LogStash::Outputs::Elasticsearch", :hosts=\>["[//localhost:9200](https://localhost:9200)"]}  
> [2019-05-13T16:43:27,948][INFO][logstash.outputs.elasticsearch] Attempting to install template {:manage\_template=\>{"template"=\>"logstash-_", "version"=\>60001, "settings"=\>{"index.refresh\_interval"=\>"5s"}, "mappings"=\>{"default"=\>{"dynamic\_templates"=\>[{"message\_field"=\>{"path\_match"=\>"message", "match\_mapping\_type"=\>"string", "mapping"=\>{"type"=\>"text", "norms"=\>false}}}, {"string\_fields"=\>{"match"=\>"_", "match\_mapping\_type"=\>"string", "mapping"=\>{"type"=\>"text", "norms"=\>false, "fields"=\>{"keyword"=\>{"type"=\>"keyword", "ignore\_above"=\>256}}}}}], "properties"=\>{"@timestamp"=\>{"type"=\>"date"}, "@version"=\>{"type"=\>"keyword"}, "geoip"=\>{"dynamic"=\>true, "properties"=\>{"ip"=\>{"type"=\>"ip"}, "location"=\>{"type"=\>"geo\_point"}, "latitude"=\>{"type"=\>"half\_float"}, "longitude"=\>{"type"=\>"half\_float"}}}}}}}}  
> [2019-05-13T16:43:28,026][INFO][logstash.outputs.elasticsearch] Installing elasticsearch template to \_template/logstash  
> [2019-05-13T16:43:28,431][INFO][logstash.inputs.file] No sincedb\_path set, generating one based on the "path" setting {:sincedb\_path=\>"/usr/local/Cellar/logstash/6.7.0/libexec/data/plugins/inputs/file/.sincedb\_38a4ab446ffffd93d60848ae887dc785", :path=\>["/Users/naka/Documents/exploringELK/cims1819.csv"]}  
> [2019-05-13T16:43:28,509][INFO][logstash.pipeline] Pipeline started successfully {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x732fb2e5 run\>"}  
> [2019-05-13T16:43:28,590][INFO][filewatch.observingtail] START, creating Discoverer, Watch with file and sincedb collections  
> [2019-05-13T16:43:28,603][INFO][logstash.agent] Pipelines running {:count=\>1, :running\_pipelines=\>[:main], :non\_running\_pipelines=\>}  
> [2019-05-13T16:43:29,110][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}

After I press control-c to terminate process:

> ^C[2019-05-13T16:45:54,790][WARN][logstash.runner] SIGINT received. Shutting down.  
> [2019-05-13T16:45:55,000][INFO][filewatch.observingtail] QUIT - closing all files and shutting down.  
> [2019-05-13T16:45:56,395][INFO][logstash.pipeline] Pipeline has terminated {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x732fb2e5 run\>"}

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 13, 2019, 4:05pm UTC](https://discuss.elastic.co/t/created-a-new-config-file-no-errors-but-not-loaded-in-kibana/180796/2 "2019-05-13T16:05:40Z")

</div>

Try adding

```
sincedb_path => "/dev/null"

```

to your file input. If that does not help run with "--log.level trace" and see what filewatch has to say.

---

<div class="post-metadata">

**Author:** ![kpks](https://avatars.discourse-cdn.com/v4/letter/k/9de053/32.png) [@kpks](https://discuss.elastic.co/u/kpks)\
**Post date:** [May 14, 2019, 6:31am UTC](https://discuss.elastic.co/t/created-a-new-config-file-no-errors-but-not-loaded-in-kibana/180796/3 "2019-05-14T06:31:42Z")

</div>

Thanks! That and adding a index name helped! Now I need to figure out how to visualise the data I have uploaded 😅

---

<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:** [June 11, 2019, 6:31am UTC](https://discuss.elastic.co/t/created-a-new-config-file-no-errors-but-not-loaded-in-kibana/180796/4 "2019-06-11T06:31:45Z")

</div>

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