Hi
I have successfully installed/configured the elasticsearh and kibana both along with the logstash.
i am trying to process the simple .csv file through logstash.conf file but i am facing the below error.
C:\elastic_stack\logstash-7.8.1>logstash -f logstash.conf
Sending Logstash logs to C:/elastic_stack/logstash-7.8.1/logs which is now configured via log4j2.properties
[2020-08-17T11:06:09,515][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2020-08-17T11:06:09,606][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.8.1", "jruby.version"=>"jruby 9.2.11.1 (2.5.7) 2020-03-25 b1f55b1a40 Java HotSpot(TM) 64-Bit Server VM 25.261-b12 on 1.8.0_261-b12 +indy +jit [mswin32-x86_64]"}
[2020-08-17T11:06:10,085][INFO ][logstash.config.source.local.configpathloader] No config files found in path {:path=>"C:/elastic_stack/logstash-7.8.1/logstash.conf"}
[2020-08-17T11:06:10,108][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
[2020-08-17T11:06:10,467][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2020-08-17T11:06:15,401][INFO ][logstash.runner ] Logstash shut down.
Could you please help me on this.
Here is my logstash.conf file ---> I have placed this in both the paths for safe purpose.
(C:\elastic_stack\logstash-7.8.1\config\logstash.conf)
(C:\Users\kogan\Documents\Talend\logstash.conf)
input {
file{
path => "C:/Users/kogan/Documents/Talend/*.csv"
start_position => "beginning"
}
}
filter{
csv{
seperator => ","
columns => ["id","name","host_id","host_name","neighbourhood_group","neighbourhood","latitude","longitude","room_type","price","minimum_nights","number_of_reviews","last_review","reviews_per_month","calculated_host_listings_count","availability_365"]
}
}
output{
elasticsearch{
hosts => "http://localhost:9200"
index => "ab_nyc_2019"
}
stdout {}
}