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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...