Splunk Search

Extract IP from TCPDUMP

DTERM
Contributor

How can I extract the source IP from the following log format?

16:13:40.860435 IP 192.54.112.34.domain > 61.220.8.179.61415: 32341- 0/5/6 (207)

All I'm interested in is the 192.54.112.34 IP address?

Thanks....

Tags (1)
0 Karma

Ayn
Legend

Umm, use the Interactive Field Extractor? I would write in more detail on creating your own regex, but seeing as I recall you asking the same kind of question before it seems you would benefit from using the IFX.

0 Karma

DTERM
Contributor

The IFX does not show the 192.54.112.34.domain or the 61.220.8.179.61415: 32341 fields. Why is that?

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...