Getting Data In

OR in Pivot command

jaracan
Communicator

Hi Team,

How do we do "OR" in pivot command?
I wanted to have a result with either product ="IOS" OR product ="WLC"

Current search: Take note of FILTER product is "IOS"
| pivot Cisco_IOS_Event Cisco_IOS_Event count(Cisco_IOS_Event) AS "Count of Event" SPLITROW _time AS "_time" PERIOD auto SPLITCOL mnemonic FILTER product is "IOS" SORT 0 _time NUMCOLS 10

I tried FILTER product is "IOS" OR product is "WLC" but did not work.

What should I done differently? Thanks in advance.

0 Karma

FrankVl
Ultra Champion

Have you tried FILTER product in ("IOS","WLC")?

Get Updates on the Splunk Community!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...