What would be the recommended syntax for writing kv pairs in our logs to easily get extracted by splunk. (performance wise and robustness)
key1="String value", key2="Another, string, value", key3=123
I want it to support string value (so they can contain the delimiter character), quoted or not, but i want it to be able to contain the delimiter sequence. And i want to support numbers.
I am still free to choose the format so please give me recommendations.
That format looks good. Here are some other questions that have been asked before on this subject that are helpful:
http://answers.splunk.com/questions/1951/what-is-the-best-custom-log-event-format-for-splunk-to-eat
That format looks good. Here are some other questions that have been asked before on this subject that are helpful:
http://answers.splunk.com/questions/1951/what-is-the-best-custom-log-event-format-for-splunk-to-eat