Getting Data In

Indexing only specific fields in an event

pdash
Path Finder

I want to index only specific fields like error status in an event and discard the rest. How do I set splunk to do this?

Tags (1)
0 Karma

Ayn
Legend

Splunk has inbuilt functionality by filtering events by sending them to a queue called the nullQueue, which builds on the same concept as /dev/null in UNIX. This works on a per-event basis though, not internally WITHIN events, so your two options as I see it are:

Ayn
Legend

The license counts against how much data is indexed. So, any way you remove data before being indexed results in less data indexed and so results in less data being counted against your license limit.

0 Karma

pdash
Path Finder

yea but anonymizing wont send it to null queue right? I dont want them counting to my indexing volume

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...