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!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...