All Apps and Add-ons

apps

hazem
Path Finder

hello all,

if I have 2 apps deployed on  Splunk forwarder agent with outputs.conf file 

first one(all_UF_outputs) to send logs to indexers' ips and the other(all_splk_outputs )to send logs to indexers over the hostname.

how I can confirm which one has the highest precedence?

 

 

 

 

 
Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @hazem ,

yes, there's a precedence in confoigurations at index time, but for custom apps it's related to the alphabetical precedence.

Anyway, it should run because you have a duplicated configuration that isn't required.

Ciao.

Giuseppe

View solution in original post

0 Karma

hazem
Path Finder

did you mean that the configuration in (all_UF_outputs) will override the (all_splk_outputs) because the Capital Letter (U) has the highest precedence than lower (s) ?

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @hazem ,

yes, there's a precedence in confoigurations at index time, but for custom apps it's related to the alphabetical precedence.

Anyway, it should run because you have a duplicated configuration that isn't required.

Ciao.

Giuseppe

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @hazem ,

good for you, see next time!

Ciao and happy splunking

Giuseppe

P.S.: Karma Points are appreciated 😉

0 Karma

hazem
Path Finder

did you mean that the configuration in (all_UF_outputs) will override the (all_splk_outputs) because the Capital Letter (U) has the highest precedence than lower (s) ?

 
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @hazem ,

let me understand: you have two apps containing the same indexers addressing, or different ones?

if yes why?

Anyway, it isn't correct because the configuration in the first overrides the ones in the second.

Could you share your outputs.conf?

Ciao.

Giuseppe

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...