Go to installation location of logtash.
> cd
/home/osadmin/ELK/logstash-2.3.2
> ./bin/logstash
-f myapp-logstash.conf
If configuration is well, logstash should startup.
Note : To verify, modify the file ( Add some log lines in log
file specified “"/var/log/test.log” )
Log
messages in JSON format should appear on console.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.