Splunk Enterprise

Remove values in Field Value.

Vigneshprasanna
Explorer

Hi ,

Can any one help me in removing the values that are tagged in field
alt text

If you see the image you can see the Total:, Source),Method), are in the field of Return_type.
here i would like to remove the values highlighted from the list of Return_type

Thanks In advance 🙂

Vignesh

0 Karma

niketn
Legend

@Vigneshprasanna, if the events with Total:, Source),Method), etc are not required ideally, you should check out how to send them to nullQueue so that they get filtered at index time rather than filtering them out during search time.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

mayurr98
Super Champion

can you try this ?

index=<your_index> NOT Return_type IN ("Total:" "Source)" "Method)")
0 Karma

niketn
Legend

@Vigneshprasanna just FYI IN will work in Splunk 6.6 or higher otherwise you will have to use

<yourBaseSearch> Return_type!="Total:" AND Return_type!="Source)"  AND Return_type!="Method)" 

The additional characters colon : and end bracket ), makes me think you need to re-consider your Field Extraction for Return_type. Community would be able to assist with this however, you would need to provide us with sample events for each (after masking/anonymizing any sensitive data).

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
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!

Unlocking Unified Insights: New Gigamon Federated Search App for Splunk

In today’s data-heavy environment, organizations are caught in a data distribution dilemma. As data volumes ...

GA: New Data Management App in Splunk Platform

Streamlining Data Management: Introducing a unified experience in Splunk Managing data at scale shouldn’t feel ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...