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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...