hi everyone,
my test.log contents like bellow:"AsynExecutor.contractSyncScheduler>>>> 2016-03-17 04:00:03,247 INFO [cn.cmri.pds.neusoft.ContractSyncService] - <【PageInquiryAccountBalanceContectSrv】,success>"
my conf file as bellow:
"input {
file{
path =>["/opt/pds/log/test.log"]
type => "pds"
}
}
filter {
if [type = pds ]{
grok {
match => { "pds" => "%{DATA:scheduler}>>>> %{DATA:date} %{DATA:loglevel} %{DATA:service}-<%{DATA:Account},%{DATA:status}>" }
}
}
}
output{
stdout { codec => rubydebug }
elasticsearch{
hosts =>["localhost:9200"]
index => "test_log"
}
}
I can not find anything in debug info.BTW, the grok.conf is no error in running. anybody can help? thanks!
Best Regards,
Levi