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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...