Splunk Search

Searching Splunk

anamolous86
Engager

So, I have just been introduced to this tool through my work. I had a question about how to link some search criteria. What I would like my search to do is search first by an IP address that I input, then link that IP address to a username, and finally give me a log of their activity within plus and minus two hours.
Thanks in advance!

Tags (2)
0 Karma
1 Solution

alanfinlay
Path Finder

Mapping userid to ip address is required so you need to determine how to get that data. You could perhaps monitor DHCP server logs. You could use lookup table - see Manager -> Lookups and have the mapping defined in a file, or you could have the mapping stored in a Database and use the DBConnect app.

Once you have that mapping you can build a search on the activity data based on userid from an input of ip address. I am not sure what you mean by plus or minus 2 hours. Do you input a time as well? Why not just specify a time range in the search?

0 Karma

ChrisG
Splunk Employee
Splunk Employee

anamolous86
Engager

Ah, great! The manual is going to be most helpful for me. Thank you!

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...