Splunk Dev

How can I "or" with a Pivot?

daniel333
Builder

All,

I'd like to alert on process which have Netcat or nmap running for quick notable event. I can get one or the other. But not really both in the single query. I can't seem to find any sort of "OR" for the pivot language.

| pivot Application_State Processes values(process) AS "process" SPLITROW dest AS dest FILTER process startsWith nc*

Any ideas?

Tags (1)
0 Karma

dkeck
Influencer
0 Karma

dkeck
Influencer

if it helped please accept the question 🙂

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...