Getting Data In

Splunk Set Source Type format Timestamp strptime field examples

bogdan_nicolesc
Communicator

Hi all,

I'm trying hard to add data into Splunk from a .csv file instead of .json. I managed to convert it from .json to .csv and now, when i try to alter <Timestamp format > using strptime() is showing me time from the adding time, not the time from the field time inside the .csv that is in Epoch Unix Timestamp.

I have read this resource,  https://docs.splunk.com/Documentation/SplunkCloud/8.2.2107/Data/Configuretimestamprecognition

but to no avail ...

Please advice ...

 

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Please share and example of the csv and the configuration you are using to ingest it

0 Karma

bogdan_nicolesc
Communicator

As you can clearly see, in the first photo is my .csv field setup with times resembling as 1632177107637870.

 

The second photo, is how i want to import it.

0 Karma
Get Updates on the Splunk Community!

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...