Getting Data In

To Exclude all the NULL values from the index

smith_
Builder

Hello,

I was trying to explore all the null values in my index but is it not working as expected do we need any changes in the search 

index=vpn earliest=-7d
| fieldsummary
| where match(values, "^\[{\"value\":\"null\",\"count\":\d+\}\]$")

Thanks

 

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @smith_,

could you better describe what you whould do?

if you already indexed a log, you canot remove an avent or a part of it.

If you want to exclude some null values from a search you can do iy in the search.

So what' your requirement?

Ciao.

Giuseppe

0 Karma

smith_
Builder

Hello,

I was trying to look for indexed null values and will decide to ingest after knowing them.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @smith_,

at first you have to analyze your data and see if you correctly parsed it, in other words, if you're using the correct Add-On.

At this point you should'n have NULL values in fields.

Ciao.

Giuseppe

0 Karma

smith_
Builder

Thanks ,
I can see the values of some fields in my index as null,  what does it mean the data is ingesting or not ???

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @smith_,

if you don't have any recognized field, this means that you have a parsing problem.

At first you have to check if you instaled the correct Add-On and if you associated the correct sourcetype with yur data flow.

Then you have to analyze your data, see the sourcetype associated with these events and see what's the issue,

Ciao.

Giuseppe

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...