i am running jdbc and getting following data. if I run this on SQL> prompt
--backupid "2129214415_30120163393540,2129214415_30120163432904" --spoolpath /system1/1_backup
but on logstash output it becomes
command: "--backupid \"2129214415_30120163393540,2129214415_30120163432904\" --spoolpath /system1/1_backup"
how do I parse this and get 2129214415_30120163393540
I try this but it does not work
grok {
tag_on_failure => ["grok_parse_failed"]
match => {"command" => "--backupid \\"%{GREEDYDATA:myid},%{GREEDYDATA:myid2}\\" }
}
I even try with different \ combination to esacpe that backslash and "
it works on grok debugger when I try
this works
This works as well