Getting Data In

Is it possible to send the same data to two different indexes via universal forwarder?

kris99
New Member

Is it possible to send the following to two different indexes via Universal Forwarder ?

[perfmon://CPU]
index=aaaa
index=bbbb

[perfmon://Memory]
index=aaaa
index=bbbb

0 Karma

kml_uvce
Builder

I think it will throw error but it may work if you use same stanza for different indexes like
[perfmon://CPU]
index=aaaa

[perfmon://CPU]
index=bbbb

and if you want to send cpu and mem in 2 diffrent index then

[perfmon://CPU]
index=aaaa

[perfmon://Memory]
index=bbbb

kamal singh bisht
0 Karma

bmacias84
Champion

Yes you can do it that way. But cloning data is not a feature that UF are capable of. HF are the ability to do what is call data cloning and routing if thats what you want from Forwarder. Else it can be down at the indexer level. Its easy to clone data to two different system than to clone data the same system.

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

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...