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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...