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!

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 ...