Getting Data In

Split event before apply profiling

pbalbasm
Path Finder

Hi all,

I have events tagged with tag1 and others with tag2. In the restricted search terms of the search in roles, I have NOT tag=tag1 so users can't see tag1 events. The problem is when an event contains both tags, so users cannot see the events and they should.

Is there any way to split that events by tag in order that users are able to see those which contains tag2?

Thanks in advance.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi pbalbasm,
let me understand: do you want a search with the condition tag=tag2?
if yes, try something like this:

index=my_index tag=tag2

Bye.
Giuseppe

0 Karma

pbalbasm
Path Finder

Hi Giuseppe,

Thank you for your response. That's not what I'm asking. Due to the profiling, events which contain tag1 and tag2 at the same time, are already filtered and doesn't appear. What I need is to show events with tagged with (tag2) and (tag1tag2) at the same time.

Thanks.

0 Karma

gcusello
SplunkTrust
SplunkTrust

ok, try this
index=my_index tag=tag2 OR (tag=tag1 tag=tag2)
Bye.
Giuseppe

0 Karma

pbalbasm
Path Finder

Hi, as I said that events doesn't appear, so it's not possible to manage in that way.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Sorry!
but if you use
index=my_index (tag=tag1 OR tag=tag2)

  • events with only tag1 are seen by users enabled for tag1,
  • events with only tag2 are seen by users enabled for tag2,
  • events with tag1 and tag2 should be seen by users enabled for tag1 or tag2,

Bye.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...