Reporting

How to create a report on Cisco ASA VPN Users including Username, VPN connection duration, Source IP, Start Time and End Time?

kpsajin
Explorer

Hi,
We have a Cisco ASA which is sending syslog messages to Splunk for VPN traffic. I would like to know how to create a report with the following details.

Username, duration of the VPN connection, Source IP(Public IP), Start time and End time.

Has anyone created this report already? If yes, please share the search.

Regards
Sajin

jfeitosa
Path Finder

Try

... | rex field=Duration "((?\d+)h:)?(?\d+)m:(?\d+)s" | eval duration=dur_s+60*dur_m+3600*coalesce(dur_h,0) | stats sum(duration) as total_duration by Username
0 Karma

ashutoshab
Communicator

Can you please elaborate, how this works and what logs we need to search.

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

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

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...