Splunk Search

How do I search for users logging into our Splunk server remotely?

codymoore
New Member

We had a user log in remotely either with ESXI, with a VM, with Remote Desktop or with the command prompt using SSH. Our Splunk server is on a domain and we are trying to determine who logged in and made the changes. I have searched the forum and cannot find a definite answer in the community. I'm fairly new to Splunk with writing queries and all so appreciate any help and/or advice anyone can give. Thanks,

0 Karma

Lazarix
Communicator

Assuming it's linux, run this command on the host:

last

you can also search

/var/log/secure

for "sshd"

Additionally, the Splunk App for Unix extracts data from /var/log/secure and other such system level logs so you can consume that data in Splunk.

0 Karma

mstjohn_splunk
Splunk Employee
Splunk Employee

Hi @codymoore! Thanks for posting on Splunk Answers!

Could you provide more info about this problem? Have you tried to craft any searches yourself? If so, if you post them, our users might be more inclined to help you out! Not only will that give you a greater chance of having your question answered, it will also help us categorize the problem so others with similar problems can learn from it.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...