All Apps and Add-ons

Splunk Add-on for Microsoft Cloud Services _TCP_ROUTING

melvinfuglem
Explorer

I am running Splunk Add-on for Microsoft Cloud Services on a Splunk Heavy Forwarder and I'm trying to forward the azure audit log to two splunk instances. The problem is that it only forwards it to the default output. I have tried this:

mscs_azure_audit_inputs.conf
[AZURE_AUDIT]
account = AZURE
index = AZURE_AUDIT
interval = 300
start_time = 2019-10-19T13:00:34+02:00
subscription_id =
disabled = 0
_TCP_ROUTING = splunk1, splunk2

I have tried props.conf and transforms.conf with targeting sourcetype, source and host.
props.conf
[host::hostname]
TRANSFORMS-routing = azureauditlog_to_splunks

transforms.conf
[azureauditlog_to_splunks]
SOURCE_KEY = _MetaData:Index
REGEX = (?i)azure_audit
DEST_KEY = _TCP_ROUTING
FORMAT = splunk1, splunk2

I have tried adding _TCP_ROUTING to to the inputs.conf, but it creates a new input.

[mscs_azure_audit://AZURE_AUDIT]
_TCP_ROUTING = splunk1, splunk2

[mscs_azure_audit]
_TCP_ROUTING = splunk1, splunk2

I'm starting to run out of ideas. Anyone have any ideas?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...