Reporting

How to create a report for VPN user sessions including username, source ip, date and time for sonic wall firewall

RK_sp1unk
New Member

We have a customer who had CISCO firewall but got it replaced by Sonicwall, now the VPN user session reports are not generating correctly.
What needs to be checked? Please share details.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

You probably need to change TAs. The Cisco TA probably won't work with Sonicwall data. Try the one at https://splunkbase.splunk.com/app/4507/.

Then, like @woodcock said, you likely need to change the query that produces the report. There looks to be an app for that, too. See https://splunkbase.splunk.com/app/4544/.

---
If this reply helps you, Karma would be appreciated.
0 Karma

RK_sp1unk
New Member

sourcetype="cisco:asa" created OR deleted direction=inbound | rex "(?i)(SPI= (?P[^)]+)" | rex "(?i)(user= (?P[^)]+)" | rex "(?i) and (?P[^ ]+)" | eval Date_Time = date_mday." ".date_month." ".date_year." ".date_hour.":".date_minute.":".date_second | transaction SPI | table UserName, SourceIP, Date_Time, duration | eval duration = round(duration/(60*60), 2) | rename duration as "SessionTime(Hour)"

0 Karma

RK_sp1unk
New Member

i have already tried all this sonicwall apps and add ons this are useless not loading any data

can some one help me how can i fliter vpn authentication logs from syslog or /var/log

0 Karma

RK_sp1unk
New Member

or if someone has used sonicwall firewall and generated VPN reports please share the query or spl

0 Karma

RK_sp1unk
New Member

this is the old query with cisco firewall tried chnagng soure cetypes but no data

0 Karma

RK_sp1unk
New Member

it is really disappointing no one knows the answer for the above query

0 Karma

woodcock
Esteemed Legend

Find the SPL that generates the report and run it. From the bottom, one by one, remove each pipe and the SPL after it until you get results. Then look at what is in the line that you removed and fix whatever is in it that doesn't exist.

0 Karma

RK_sp1unk
New Member

Please share the SPL

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...