Splunk Search

CSV - Dates Columns Removed when Indexed - How can I retrieve/show in raw data?

driva
Path Finder

Hi all,

I have a CSV file that contains 8 columns and 3 of the row entries contain time/date fields. Two are not appearing in the raw event data within Splunk. (I'm using RegEx to create fields and my RegEx no longer works because the data is missing from each event).

Example row from CSV file: 12-20-2019 09:16, text1, text2, 01-03-2020 14:09, text3, text4, text5, 01-03-2020 14:09

What I see in raw Splunk Event data: text1, text2, ****01-03-2020 14:09**,** text3, text4, text5

The first date/time field, although missing from raw data, is being used to set the event time. The second entry is there. The third entry has been removed completely.

Could anyone please offer an explanation as to why two of the fields are missing when indexed?

Thanks for your help!

[Splunk version: 8.0.0]

EDIT: Here's a screenshot of the raw data in Splunk. As you can see, the last column has been removed upon being indexed but exists in the CSV file. However today, for some reason, the first column is now being indexed again! I'm very confused!
alt text

0 Karma

spj1oct
New Member

While extracting data through regex..check if all fields are extracted correctly or not, after that only press submit button

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...