Splunk Search

Field subtraction

EvansB
Path Finder

Can anyone assist me with the SPL to subtract EBVS% and PFAVS% fields to allow the successful plays field to improve? 
I've attached a screenshot below.

EvansB_0-1641837879833.png

 

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| eval "Successful Plays%" = 'Successful Plays%' - ('EBVS%' + 'PFAVS%')

View solution in original post

isoutamo
SplunkTrust
SplunkTrust

Hi

as https://docs.splunk.com/Documentation/SCS/current/Search/Quotations told you should surround field name with ‘ -character when field name contains special characters.

r. Ismo 

EvansB
Path Finder

Thanks, but how can I subtract 'EBVS%' and 'PFAVS%' fields from the 'successful plays%' field to increase the successful plays KPI?

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| eval "Successful Plays%" = 'Successful Plays%' - ('EBVS%' + 'PFAVS%')
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...