Reporting

add value to kvstore only if its not empty

angelinealex
Communicator

Hi,
I have couple of questions.

    .........
    eval fieldname=....
   | outputlookup my_kvstore_lookup
  1. How to add fieldname value to kvstore only if fieldname is not null/no empty. When its empty it shouldn't add to the kvstore.

  2. Another question is, can I add a value to kvstore in the middle of the saved searches? Because at the end of saved search I have to summary index the data.

Looking for some urgent help.
Thank you.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...