Getting Data In

When I use the inputcsv command with my data, I see an eventcount, but the events are blank. Why is this?

ycalpu
New Member

Hi all, when i do an inputcsv command, I see the data in the file I put on the splunk server. Since I want to see them as events I query the following:
| inputcsv filename.csv (I see all the data, 7603 counted)
| inputcsv start=1 events=yes filename.csv (I get the 7602 count, but showing all blank)

Any ideas why its showing blanks?

Tags (2)
0 Karma

jrodman
Splunk Employee
Splunk Employee

Events in the event viewer will generally be blank unless they include a _raw field. Your sv file probably does not have a field (or column) called _raw, which is the text of the event.

0 Karma

ycalpu
New Member

jrodman, how do you designate the _raw field?

Y

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...