Unable to push data to elastic search and Kibana through Logstash


Hi all,
I'm new to ELK. I need to use ELK for log analysis. But for getting a hands on experiencing I've started with a small .csv file. I'm using Elasticsearch 6.4, Kibana 6.4 and Logstash 6.4.
I'm using Windows 8. I've created a .conf file as below and saved it in a folder "data" as logstash_test.conf in my desktop.

input {
file {
path => "C:\Users\Shaheel\Desktop\data\test.csv"
start_position => "beginning"
sincedb_path => "\dev\null"
filter {
csv {
columns => [ "Loan_ID","Gender","Married","Dependents","Education","Self_Employed" ]

ouput {
elasticsearch {
hosts => "localhost"
index => "test"
document_type => "test_data"
stdout {}

Then in Windows command prompt I've excecuted following command as administrator

C:\Users\Shaheel\Desktop\ELK\logstash-6.4.0\bin> logstash -f C:\Users\Shaheel\Desktop\data\logstash_test.conf

But I'm getting following error.

Please help me to fix this issue.

(Magnus B├Ąck) #2

It's "output", not "ouput".


Hope this link will help you,

(system) #4

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