Splunk Search

What field name should I use for privileged users on change datamodel?

3DGjos
Communicator

Hello,

Right now i'm developing some compliance app. All my panel searches are with | tstats, so my fields are limited to the CIM datamodel ones.

So far I was doing great, until today, when I found myself trying to make a panel with all the privileged users activity. The problem is that Change only describes a src_user_category included in the Account_Management dataset.

My question is... what field should I use to describe privileged users activity that is not Authentication or Account_Management? I mean, lets suppose I have to make a panel with activity from privileged users regarding to other changes than account_management, for example the modification of a OU or the modification over a file's permissions.

I have to make a lookup with a list of my privileged users, and call the X field from there, assuming that my app has to be CIM compliant, what field should I use to search only for the privileged users?

Thanks!

0 Karma
1 Solution

woodcock
Esteemed Legend

If you are committed to CIM (and there are many good reasons to be), then you are on the right track that you definitely SHOULD NOT CHANGE the definition (JSON). This leaves you with 2 main approaches.
1: Hijack the *_bunit fields. They exist in all CIM DMs and hardly anybody uses them for anything.
2: Create custom tag values. The tag field exists in all CIM DMs but in v7.*+ you need to modify the tag whitelist to accept your new values.

I suggest the latter. You can have a lookup create a field called foo with value bar and then have a tag definition foobar for when foo = bar. Then you can search for Datamodel_Dataset.tag = foobar

View solution in original post

0 Karma

woodcock
Esteemed Legend

If you are committed to CIM (and there are many good reasons to be), then you are on the right track that you definitely SHOULD NOT CHANGE the definition (JSON). This leaves you with 2 main approaches.
1: Hijack the *_bunit fields. They exist in all CIM DMs and hardly anybody uses them for anything.
2: Create custom tag values. The tag field exists in all CIM DMs but in v7.*+ you need to modify the tag whitelist to accept your new values.

I suggest the latter. You can have a lookup create a field called foo with value bar and then have a tag definition foobar for when foo = bar. Then you can search for Datamodel_Dataset.tag = foobar

0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...