All Apps and Add-ons

Routing events to null queue active directory dns debug

splunkranger
Path Finder

I need to drop all events that contain the string company.com for example below.

I would like to drop these events below.

This should work right?

Thank you

1674 PACKET UDP Snd 127.0.0.1 2d69 R Q [8081 DR NOERROR] A .redfish.company.com.
1674 PACKET UDP Snd 127.0.0.1 2d69 R Q [8081 DR NOERROR] A .https-proxy.company.com.

Props.conf

TRANSFORMS-drop = dropline
EXTRACT-dns_name = (?i)] \w+\s+(?P(.+))
SEDCMD-win_dns = s/(\d+)/./g
SEDCMD-domainname = s/(\(\d\))/./g

Transforms.conf

[dropline]
REGEX = company
DEST_KEY = queue
FORMAT = nullQueue

0 Karma

cygnetix
Path Finder

Hey splunkranger,

Try something like this in your props and transforms config files.

props.conf:

TRANSFORMS-null-dns1= company_com

transforms.conf:

[company_com]
REGEX = (?i:company\.com\.$)
DEST_KEY = queue
FORMAT = nullQueue

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee

I think so... has nothing to do with the Splunk Support for Active Directory though.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...