Reading blogs.csv from engineer course


#1

A couple of weeks ago I did the ES Engineer I course and during that course you are given a lab and datasets. Now I like to reproduce these labs at home but I just can't figure out how to read the blogs.csv file looking at blogs_csv.conf it's expecting the file at stdin but how do I get the contents of the CSV file there?


(Rich Raposa) #2

The command would look something like this (on Mac or Linux):

cat blogs.csv | logstash-6.x.x/bin/logstash -f blogs_csv.conf

where logstash-6.x.x is the folder where you have Logstash unzipped.


#3

Yes, that did the trick! Thank you very much Rich.


(system) #4

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