Hello,
I am trying to analyze some access and report logs in kibana..I want to be able to query on the message I receive on kibana...Basically I want to turn the messages onto fields to be able to query on them. How can I do that in kibana? modify the existing log-stash file?
The contents of access log looks like the following:
access.log
00:42:10,411 INFO [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' access:14 - |peka|searchCustomer|https://32.90.12:253/service/soap/vhandset/CustomerManagement/CustomerLookupService
report.log
and the report logs like the following:
2016-03-22 00:4110|mayan|searchVendor|2509
The configuration for the above files is the following:
logstash-shipper.conf
input {
file {
path => [ "/path/to/logs/report.log", "/path/to/logs/access.log" ]
type => "syslog"
start_position => "beginning"
sincedb_path => "/dev/null"
ignore_older => 0
}
}
output {
stdout { codec => rubydebug }
redis { host => "13.22.10.141" data_type => "list" key => "newlog" }
}