How to read a text file using elastic search

i am trying to read a text file using logstash and to push it to elasticsearch. How can i know if the input file is read, where can i see the data read by logstash.

input {
file {
path => "ur file path"
}
}

this is what i have written, how can i know whether my input file is read or not

have u run this config file ?

yes, i got this

i have written in conf file and getting above output.But not able to read file

Do not use backslash in the path option of a file input, use forward slash (or \\).

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