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!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...