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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...