Here I am just testing the input-file plugin. I have tried using stdin and that works as expected. But it should also work using file input right? I feel like logstash is unable to read the input file.
I was seeing something similar also. It seemed like sometimes it would load the file, but sometimes it wouldn't. I ended up just using stdin for testing and doing one line at a time. Our production environment doesn't use the file input so it's easy enough for us to just avoid it.
It is sitting there waiting for an CRLF. Re-open the file with an editor and press Enter/Return to start a new line. If your test case had multiple lines it would have worked.
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.