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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

Ready to make your IT operations smarter and more efficient? Discover how to automate Splunk alerts with Red ...