Hi
I am new to logstash . I gone through some documentation about logstash and feel good to learn more about it.
The requirement which i am trying is .
To read the log file and mathc the keyword Access in the log file and display the lines
I have tried one sample conf file to read the log file and write the data which i search as output .
My conf file follows as like this
input
{
file {
path => ["/lee/logs/server.log"]
}
}
filter {
grok {
match => [ "message", "%{WORD:custom_name}" ]
}
}
output {
stdout {
codec => rubydebug
}
}
I verified by config it says OK
[lee@server1 logstash-1.5.0]$ bin/logstash -f test2.conf --configtest
Configuration OK
[lee@server1 logstash-1.5.0]$ bin/logstash -f test2.conf
Logstash startup completed
Access
I gave the input Access aftert this am not seeing any other thing.
Please help me if i am missing something to check this .
I Dont understand what is happening where i need to check as well after this
Thanks in Advance
Regards
Lee