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!

.conf24 | Registration Open!

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

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...