Splunk Search

splunk

Siddharthnegi
Contributor

I want to see 100% when the "No results found. " message comes.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Try something like this

| appendpipe
  [| stats count as _count
   | where _count=0
   | eval message="100%"]
0 Karma

Siddharthnegi
Contributor

What if I want to show 100% in existing field.
let say i have a sum field which showing 0, so i want to show 100% is there a way to do that?

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| appendpipe
  [| stats count as _count
   | where _count=0
   | eval sum="100%"]
0 Karma

Siddharthnegi
Contributor

Thanks for the answer but can i do this without appendpipe

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...