Getting Data In

Compare SSH users against authorized user list.

nickabal
New Member

I have a table that shows the usernames logging into to my various servers. I want to compare these results to a list of users I have specified in order to notice any users that should not be accessing certain systems.

Basically, I am looking to that verify usernames are in the "authorized user" array/list.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

That can be solved well with a lookup. For example, define a CSV file that contains two columns:

username,status
bob,okay
john,deleted

Define an automatic lookup that appends the status column to your search results based on the username. Then look for users that either have no value for status or have a value different from "okay".

You could also do lookups against a database, or join data from a second indexed source - what is best depends on your environment.

Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...