Deployment Architecture

Define Multiple clientName in deploymentclient.conf file on splunk forwarder

nikhilagrawal
Path Finder

we have two separate App running on one server and need to monitor both Application (different log path).

[target-broker:deploymentServer]
targetUri = test:8089

[deployment-client]
clientName = fx_test1_fx_test2
phoneHomeIntervalInSecs = 300

serverclass.conf

[serverClass:fxtest1]
whitelist.0 = *

[serverClass:fxtest1:app:forward_fxtest1]
whitelist.0 = fx_test1
restartSplunkd = true

[serverClass:fxtest2]
whitelist.0 = *

[serverClass:fxtest2:app:forward_fxtest2]
whitelist.0 = fx_test2
restartSplunkd = true

Can someone please help I need to do with Whitelist to push these two deployment apps to splunk forwarder.

Thanks

Tags (1)
0 Karma
1 Solution

alacercogitatus
SplunkTrust
SplunkTrust

I'm assuming you are changing the name of the client for a reason. So the whitelist needs to match fx_test1_fx_test2.

In serverclass.conf:

[serverClass:fxtest1]
whitelist.0 = *fx_test1*
restartSplunkd = true
[serverClass:fxtest1:app:forward_fxtest1]

[serverClass:fxtest2]
whitelist.0 = *fx_test2*
restartSplunkd = true
[serverClass:fxtest1:app:forward_fxtest2]

View solution in original post

alacercogitatus
SplunkTrust
SplunkTrust

I'm assuming you are changing the name of the client for a reason. So the whitelist needs to match fx_test1_fx_test2.

In serverclass.conf:

[serverClass:fxtest1]
whitelist.0 = *fx_test1*
restartSplunkd = true
[serverClass:fxtest1:app:forward_fxtest1]

[serverClass:fxtest2]
whitelist.0 = *fx_test2*
restartSplunkd = true
[serverClass:fxtest1:app:forward_fxtest2]

alacercogitatus
SplunkTrust
SplunkTrust

If this worked for you, please accept the answer (the checkmark next to my answer). Thanks!

0 Karma

nikhilagrawal
Path Finder

It worked... Thanks

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...