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!

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Stay Connected: Your Guide to April Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...