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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...