|
Hai, I have lines in single log (1 sourcetype) started with 2 different timestamps,
timestamp1 is picked up but timestamp2 one is merged onder timestamp1. So what the best way to config? Cause It looks that the examples are leading to 1 TIME_FORMAT per sourcetype Update with sample:
I indeed discovered that the timestamp reconizing is a one to one action,,,so you mention that I have to split this log to different souretypes? |
|
Configuration of timestamps in props.conf will only allow you to specify one timestamp format. You can simply not specify a timestamp format, and Splunk will try to match any of the many that are in its default config for guessing. This is easy to do, but it might be undesireable and result in items that are not timestamps being picked up too readily. However, if you can use this method (perhaps in conjuction with setting Otherwise, you can do this creating a custom Update: This datetime config, if put into an XML file that is set as the
Do I have to concern the windows slashes ( in relation with input paths) I am using : [Spectrum_OC_log] DATETIME_CONFIG = C:\Program Files\Splunk\etc\system\local\datetime.xml
(26 Apr '10, 07:07)
Starlette
|

if you post a few examples of your timestamps, someone might be able to show you a sample configuration to match them.