Hi,
I have a field in my log file, which may sometimes has an entry like 'Hello World'
, and if it doesn't has data, it will show just -
sign. I gave defined it as '%{GREEDYDATA:helloworld}'
, which gives me grokparsefailure when data is -
. I cant remove ' '
here, since I don't want that single quote in my entry, that single quote is meant to distinguish the log entries having white-space. So my question is, How can I parse the data with ' '
and -
at the same time?
Thanks in advance