I have simple logs in the format:
The problem I faced is that the Logfile sometimes fails to get uploaded and i have to make changes in the file to get it uploaded. Moreover capital letters are not allowed in naming of indexes which I'm not sure why.
The content of the script file I used:
path => ["D:\logs\Log1.txt"]
start_position => "beginning"
action => "index"
index => "app1-2018-06-11"
hosts => ["localhost:9200"]
document_type => "log"