# Hi all, I am trying to create logstash pipeline to ingest data into elasticsearch but getting this error

**URL:** <https://discuss.elastic.co/t/hi-all-i-am-trying-to-create-logstash-pipeline-to-ingest-data-into-elasticsearch-but-getting-this-error/295576>\
**Category:** Logstash\
**Created:** [January 27, 2022, 11:46am UTC](https://discuss.elastic.co/t/hi-all-i-am-trying-to-create-logstash-pipeline-to-ingest-data-into-elasticsearch-but-getting-this-error/295576 "2022-01-27T11:46:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chinmay\_Bhusate](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chinmay_bhusate/32/100952_2.png) [@Chinmay\_Bhusate](https://discuss.elastic.co/u/Chinmay_Bhusate)\
**Post date:** [January 27, 2022, 11:46am UTC](https://discuss.elastic.co/t/hi-all-i-am-trying-to-create-logstash-pipeline-to-ingest-data-into-elasticsearch-but-getting-this-error/295576/1 "2022-01-27T11:46:27Z")

</div>

[2022-01-27T17:02:19,895][ERROR][logstash.agent] An exception happened when converging configuration {:exception=\>LogStash::Error, :message=\>"Don't know how to handle `Java::JavaLang::IllegalStateException` for `PipelineAction::Create<main>`"}  
[2022-01-27T17:02:19,911][FATAL][logstash.runner] An unexpected error occurred! {:error=\>#\<LogStash::Error: Don't know how to handle `Java::JavaLang::IllegalStateException` for `PipelineAction::Create<main>`\>, :backtrace=\>["org/logstash/execution/ConvergeResultExt.java:135:in `create'", "org/logstash/execution/ConvergeResultExt.java:60:in `add'", "D:/logstash-7.16.3/logstash-core/lib/logstash/agent.rb:396:in `block in converge\_state'"]}  
[2022-01-27T17:02:19,911][FATAL][org.logstash.Logstash] Logstash stopped processing because of an error: (SystemExit) exit  
org.jruby.exceptions.SystemExit: (SystemExit) exit  
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:747) ~[jruby-complete-9.2.20.1.jar:?]  
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.20.1.jar:?]  
at D\_3a\_.logstash\_minus\_7\_dot\_16\_dot\_3.lib.bootstrap.environment.(D:\logstash-7.16.3\lib\bootstrap\environment.rb:94) ~[?:?]

Here is my conf file

input {  
file {  
path =\> "D:/\*.csv"  
start\_position =\> "beginning"  
sincedb\_path =\> "NULL"  
}  
}

filter {  
csv {  
seperator =\> ","  
columns =\> ["Region","Country","Item Type","Sales Channel","Order Priority","Order Date","Order ID","Ship Date","Units Sold","Unit Price","Unit Cost","Total Revenue","Total Cost","Total Profit"]  
}  
}

output {  
Elasticsearch {  
hosts =\> "[http://localhost:9200](http://localhost:9200)"  
index =\> "sales-records"  
}  
stdout {}  
}

---

<div class="post-metadata">

**Author:** ![sholzhauer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sholzhauer/32/110282_2.png) [@sholzhauer](https://discuss.elastic.co/u/sholzhauer)\
**Post date:** [January 27, 2022, 12:05pm UTC](https://discuss.elastic.co/t/hi-all-i-am-trying-to-create-logstash-pipeline-to-ingest-data-into-elasticsearch-but-getting-this-error/295576/2 "2022-01-27T12:05:55Z")

</div>

Based on the path=\> part this looks to be on a windows system.  
However i believe you still have to use `D:\*.csv`

---

<div class="post-metadata">

**Author:** ![Chinmay\_Bhusate](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chinmay_bhusate/32/100952_2.png) [@Chinmay\_Bhusate](https://discuss.elastic.co/u/Chinmay_Bhusate)\
**Post date:** [January 27, 2022, 12:14pm UTC](https://discuss.elastic.co/t/hi-all-i-am-trying-to-create-logstash-pipeline-to-ingest-data-into-elasticsearch-but-getting-this-error/295576/3 "2022-01-27T12:14:44Z")

</div>

I did that also .... Slash was corrected .... But still error is there

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [January 27, 2022, 12:17pm UTC](https://discuss.elastic.co/t/hi-all-i-am-trying-to-create-logstash-pipeline-to-ingest-data-into-elasticsearch-but-getting-this-error/295576/4 "2022-01-27T12:17:20Z")

</div>

> [@Chinmay\_Bhusate](#):
>
> file {  
> path =\> "D:/\*.csv"  
> start\_position =\> "beginning"  
> sincedb\_path =\> "NULL"  
> }

Forward slash is correct for Windows. `sincedb_path` should be `NUL` though. Try this.

```auto
file {
 path => "D:/*.csv"
 start_position => "beginning"
 sincedb_path => "NUL"
}

```

---

<div class="post-metadata">

**Author:** ![Chinmay\_Bhusate](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chinmay_bhusate/32/100952_2.png) [@Chinmay\_Bhusate](https://discuss.elastic.co/u/Chinmay_Bhusate)\
**Post date:** [January 27, 2022, 12:25pm UTC](https://discuss.elastic.co/t/hi-all-i-am-trying-to-create-logstash-pipeline-to-ingest-data-into-elasticsearch-but-getting-this-error/295576/5 "2022-01-27T12:25:22Z")

</div>

It worked ... Thanks

---

<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:** [February 24, 2022, 12:25pm UTC](https://discuss.elastic.co/t/hi-all-i-am-trying-to-create-logstash-pipeline-to-ingest-data-into-elasticsearch-but-getting-this-error/295576/6 "2022-02-24T12:25:27Z")

</div>

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