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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...