Hi Everyone,
Am starting ELK project for first time.
I have installed logstash, elasticsearch, kibana. All in one single lab server.
I have couple of usecases to work on, So i got couple of files from app team. Basically extracted log file from the application. Now want to send these files/logs to elasticsearch and start creating dashboards for couple of usecases they requested for.
But when I configure, logstash with myapp.conf file with below configuration. after configuring this what are the steps to follow to send logs to elasticsearch.
Could you please help me with this issue.
input {
file {
path => "/var/log/middletier/middletier9.log"
type => "openam"
start_position => beginning
}
}
output {
elasticsearch {
hosts => ["localhost:9200"]
index => "openam_logs-%{+YYYY.MM}"
}
}