Getting Data In

log on times for report

joeyfine
New Member

Hello all,

I am creating a report that shows that shows when external facing ips log into our server. I have the user name, IP address, City, Region, & Country all reporting. I am trying to get a time stamp when the users log in but i cannot find the right command can you help? Here is what I have so far..

sourcetype="iis" source="E:\TempSplunkData\IIS\u_ex15012812.log" c_ip != "10.47.*" | iplocation c_ip | table c_ip, cs_username, City, Region, Country

Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust
... | table _time c_ip, cs_username, City, Region, Country
---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust
... | table _time c_ip, cs_username, City, Region, Country
---
If this reply helps you, Karma would be appreciated.
0 Karma

joeyfine
New Member

Thanks that worked 🙂

0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...