Splunk Search

ASA Accessed URL log

antoniobp
Engager

Hi everyone,

I would like to know, how could I extract the source IP address?

I need a report from sources IP to "Accessed URL" (top 100) in Cisco ASA.

In the example below, the source IP is 10.2.22.65.

Jul 13 14:22:03 10.2.1.216 %ASA-5-304001: 10.2.22.65 Accessed URL 82.165.39.131:http://www.collajove.cat/img/content_bg.jpg

Best Regards

Antonio

Tags (1)
0 Karma
1 Solution

rturk
Builder

Regex to the rescue! Try this:

sourcetype=your-sourcetype | rex "(?<src_ip>\d+.\d+.\d+.\d+) Accessed URL"

Hope the helps 🙂

View solution in original post

antoniobp
Engager

Hi kenth,

It´s other good option, but I don´t manage Splunk´s appliances and is better for me to use only queries.

Best Regards

0 Karma

kenth
Splunk Employee
Splunk Employee

Or you could just download my Splunk for Cisco ASA app which has these extractions and also dashboards for them 🙂

0 Karma

antoniobp
Engager

Thank you so much R.Turk,

Regex is working fine 🙂

Have a good day

0 Karma

rturk
Builder

Regex to the rescue! Try this:

sourcetype=your-sourcetype | rex "(?<src_ip>\d+.\d+.\d+.\d+) Accessed URL"

Hope the helps 🙂

Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...