Getting Data In

pipe in srchFilter

nvtssplunk
Engager

I would like to apply a dedup to all searches performed by users in a certain role. Is there a way to do this with the srchFilter option? I have tried setting this to "| dedup _raw" but it seems this creates unbalanced parentheses in my query.

Just a little background: I have indexers across 2 sites with data being replicated by forwarders for redundancy for one index. I'm trying to avoid duplicate results in that index when distributing the search across all indexers.

RicoSuave
Builder

This is actually technically possible but NOT SUPPORTED BY SPLUNK! reference this question and please upgoat.

http://answers.splunk.com/answers/314192/use-srchfilter-to-anonymize-data-based-on-role.html#answer-...

0 Karma

Stephen_Sorkin
Splunk Employee
Splunk Employee

Search filters can only contain argument to the "search" command: ANDs/ORs/NOTs of keywords and fields.

nvtssplunk
Engager

Ok, so that's the anti-solution. Is there another way to accomplish this?

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...