|
The logs I'm trying to index are in a log4j style, and entries such as
are properly split into unique entries, however some entries are multi-line, and have embedded XML, and these are split wherever a date (with a different format than the date at the start of an entry) is found, so the log entry
gets split on the "getFooDetailRequest" line into two entries. I've tried writing my own sourcetype in a props.conf with
and setting the files to that sourcetype manually, but I get the same result. Does anyone know how to modify the built-in log4j sourcetype (since it is so close to being perfect), or have any other suggestions? |
|
You can override any Splunk default configurations by setting the corresponding setting name (under the same stanza header, in this case
This is probably the easiest to understand, though for high-volume systems (> 100 GB/day), use:
That worked! I was a little concerned because I saw a few items that still weren't split properly, but after a couple of minutes all the kinks worked out and now even XML with 10 timestamps isn't split. Thanks!
(15 Jun '10, 20:05)
Adam
|
