Cannot upload to Elasticsearch via Logstash


#1

Hi,
I'm trying to upload a csv to logstash and all I get is this even with the verbose output option.

Sending Logstash's logs to /var/log/logstash which is now configured via log4j2.properties
logstash 6.1.0
jruby 9.1.13.0 (2.3.3) 2017-09-06 8e1c115 Java HotSpot(TM) 64-Bit Server VM 25.151-b12 on 1.8.0_151-b12 +jit [linux-x86_64]
java 1.8.0_151 (Oracle Corporation)
jvm Java HotSpot(TM) 64-Bit Server VM / 25.151-b12

Here is my logstash.conf file

input {
file {
path => "/home/sarthak/Downloads/ATE1.csv"
start_position => "beginning"

}

}
filter {
csv {
separator=>","
columns=>["Type","Severity","Host Name","timestamp","Message","Machine Name","Path","SHA256","Score","Data"]
}

}

output {
elasticsearch {
hosts => "http://localhost:9200"
index => "ate1"
}
stdout {}
}


(Mark Walkom) #2

If you have processed the file before then it will be a sincedb issue.


#3

Thanks for the quick reply!

I haven't processed the file before


(system) #4

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