Hi Badger,
Thanks for your support
with the help of a friend Sundaramoorthy, we resolve this issue
Reason for the issue :: apache.log file is inside the bin folder
Resolution :: I moved apache.log to desktop
code::
input {
file {
path =>"C:/Users/skumarp8/Desktop/ELK Stack/apche.log"
start_position => "beginning"
type => "logs"
}
stdin{}
}
output
{
elasticsearch {
hosts =>[ "localhost:9200" ]
index => "logfile"
}
stdout {codec => rubydebug}
}
Gratitude
Sachin
