Splunk Search

How to extract Top Level Domains from events?

waJesu
Path Finder

I need a query that extracts TLDs from events and compares the results with a lookup table with blocklisted TLDs

Labels (1)
Tags (2)
0 Karma

waJesu
Path Finder

I tried to use 

sourcetype=<sourcetypename> |rex field=_raw "(?<TLD>\.\w+?)(?:$|\/)" | table TLD

It returned TLDs but included values I think maybe part of IPs e.g. .33, .136, .74 etc. 

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...