Getting Data In

Delimited file with a header and date at the end

PickleRick
SplunkTrust
SplunkTrust

I'm wondering how to properly onboard a file containing:

- A header with file list

- A separator (a horizontal line consisting of a sequence of dash characters)

- Events - one per line - in a tab-delimited (at least that's what I know for now - it's still to be confirmed) format

In general, the file format is supposed to have a constant set of fields so your typical delimited extraction should work but I have two issues:

1) The separator - I suppose the only way to get rid of it would be to match in on regex and redirect to null queue. Not pretty but doable.

2) The date - should FIELD_NAMES and TIMESTAMP_FIELDS work even without INDEXED_EXTRACTIONS?

I'm also wondering how to tackle daylight saving for  timestamps without TZ info. I can set, for example, TZ=CET for given sourcetype but if the source applies daylight saving and reports events in CET or CEST depending on time of the year, my events will be an hour off for half a year, right?

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...