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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...