Splunk Search

How to convert values to percentage ?

Nauman_Javaid
Loves-to-Learn

I have query something like this: 
index=sample source=test (earliest=-1d@d latest=@d) OR (earliest=-2d@d latest=-1d@d) OR (earliest=-3d@d latest=-2d@d)
|bin span=.1 Seconds
| eval dayOfDate=strftime(_time,"%Y/%m/%d")
| stats count by Seconds, dayOfDate
| xyseries Seconds dayOfDate count

 

which displays results, something like this (as an example): 

Seconds        8/9      8/10   8/08
0.0-0.1             42         22        33
0.1-0.2              22        32         44

How can i convert the data being shown under 8/8, 8/9 and 8/10 in percentage? 

Labels (5)
Tags (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Percentage of what exactly?

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...