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!

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...

Explore the Latest Educational Offerings from Splunk (November Releases)

At Splunk Education, we are committed to providing a robust learning experience for all users, regardless of ...

New This Month in Splunk Observability Cloud - Metrics Usage Analytics, Enhanced K8s ...

The latest enhancements across the Splunk Observability portfolio deliver greater flexibility, better data and ...