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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...