Getting Data In

What are best practices when the timestamp is an integer?

splunker-0625
Splunk Employee
Splunk Employee

Hi experts,

 

have .CSV file that timestamp is quite a simple integer and its incremental like 1,2,3,,,, 

I want to know how to convert the time column(1,2,3,4,,,,) to any time format that would begin from Jan 1st, 2023 for example.

Does anyone have a great idea for it in props.conf?

Time AAA BBB CCC DDD
1 1073 29.9360008 121.446498 75
2 1074 29.9360008 121.600296 75
3 1078 29.9360008 122.417319 75
Labels (2)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust

What would that number mean?

Either use appropriate format like just %d to let splunk assume rest of the fields by default (I'm not too sure though that it will work good across month's end; I think you could be ingesting events with the wrong month) or ingest this field raw and then use INGEST_EVAL to calculate a resulting date.

View solution in original post

0 Karma

PickleRick
SplunkTrust
SplunkTrust

What would that number mean?

Either use appropriate format like just %d to let splunk assume rest of the fields by default (I'm not too sure though that it will work good across month's end; I think you could be ingesting events with the wrong month) or ingest this field raw and then use INGEST_EVAL to calculate a resulting date.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In September, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...