In order to read my files I always use a path in my input section, like this:
input {
file {
path => ["D:\ELK-5.3.0\logstash-5.3.0\filename.csv"]
start_position => "beginning"
sincedb_path => "NUL"
}
}
This works fine, but how do I read this specific file when using only the stdin:
input {
stdin {
}
}
I receive a: "The stdin plugin is now waiting for input:" message, but how do I read my file now? I am using Windows.
Just to be more flexible when selecting different files. So, to prevent me from having to edit my .conf input section each time I select a different file. But, if this is not working then it is not a problem. I just need to edit my .conf. Thnx!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.