Splunk Search

combine where and eval

pduvofmr
Path Finder

Hi Community,

how do i combine where and eval?
Available field are "Gear" and "Torque_Crankshaft"

Discribed in my human brain / language 😉

eval "Torque_Wheel" = (where ("Gear"=1 == ("Torque_Crankshaft"*5.0000)), ("Gear"=2 == ("Torque_Crankshaft"*3.2000")), ("Gear"=3 == ("Torque_Crankshaft"*2.1429)))

Labels (2)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Have you looked at the case function?

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Have you looked at the case function?

0 Karma

pduvofmr
Path Finder

Hi,

case works fine for me... thx

0 Karma
Get Updates on the Splunk Community!

More Control Over Your Monitoring Costs with Archived Metrics!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...