Applicability
Splunk Cloud
Splunk Enterprise
Description
Splunk extracts up to the seconds and ignores the millisecond events when the events contain them. This rounding results in a sorting of the logs in the Splunk searches which does not correspond to the time order of generation of the logs, which could be problematic for reports and some event uses.
Investigation
The following can be reproduced to help diagnose the error in the extraction:
- props.conf was properly configured to extract the milliseconds, for example:
TIME_FORMAT =%Y%m%dT%H:%M:%S.%9N%Z
- Events are ingested using HEC(HTTP Event Collector).
- The endpoint used to send the events is /collector/event:
https://host_name/services/collector/event
Resolution
Change the endpoint, from
event to
raw:
https://host_name/services/collector/raw
Splunk Answers:Defining timestamp for hec inputSplunk Documentation:Raw event parsing
Format events for HTTP Event Collector: Raw event parsing
Revision History
| Revision |
Publish Date |
Comments |
1.0 |
28-Sep-2026
|
Initial Release |