All Apps and Add-ons

Regex Help!

kiran331
Builder

Hi

How to extract the Destination-IP = 11.12.13.14 from the below Raw data

1484665774.320 9 1.2.23.33 TCP_MISS/200 2584 GET http://img-s-msn-com.akamaized.net/tenant/amp/entityid/AAcIgiY.img?h=75&w=100&m=6&q=60&u=t&o=t&l=f&f... "vvfbvfdbf" DIRECT/img-s-msn-com.akamaized.net image/jpeg NONE-NONE-NONE-DefaultGroup - User-Agent = "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko", Destination-IP = 11.12.13.14, Threat-Reason = -

0 Karma
1 Solution

skoelpin
SplunkTrust
SplunkTrust

Here ya go, field is called "IP_Address"

... | rex Destination-IP\s\=\s(?<IP_Address>\d+\.\d+\.\d+\.\d+)

View solution in original post

0 Karma

skoelpin
SplunkTrust
SplunkTrust

Here ya go, field is called "IP_Address"

... | rex Destination-IP\s\=\s(?<IP_Address>\d+\.\d+\.\d+\.\d+)

0 Karma

kiran331
Builder

Thank you !

0 Karma

DalJeanis
SplunkTrust
SplunkTrust

Did the interface omit some characters?

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...