Splunk Enterprise

Why are we unable to send logs for HF to 2 indexes?

Maurice68
Loves-to-Learn

Hello. 

I'm trying to send log from heavy forwarder to 2 indexes. One is receiving logs, but the second is not.

Here is the props.conf file:

[test]
TRANSFORMS-routing=errorRouting,successRouting

 

Here is the outputs.conf file:

[tcpout:errorGroup]
server = 35.196.124.233:9997

[tcpout:successGroup]
server = 34.138.8.216:9997

 

Here is the transforms.conf file:

[errorRouting]
REGEX=.
DEST_KEY=_TCP_ROUTING
FORMAT=errorGroup

[successRouting]
REGEX=.
DEST_KEY=_TCP_ROUTING
FORMAT=successGroup

What could be the problem?

 

 

Labels (1)
0 Karma

Maurice68
Loves-to-Learn

Thank you.

0 Karma

PickleRick
SplunkTrust
SplunkTrust

1. You're not trying to route to two indexes but to two indexers.

2. If you want the event to be sent to both those groups, you're gonna have to clone the event (maybe you can do it easier with ingest action). With your configuration the second transform overwrites the result of the first one so all your events will go to successGroup.

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...