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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...