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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...