Splunk v3.4.9
I have an oracle RAC cluster that has the following inputs.conf file
[monitor:///n01/oraadmin1/diag/tnslsnr/]
disabled=false
_whitelist=.*\/(alert|trace)\/(log.xml|listener\_[\w]+\.log)$
crcSalt=<SOURCE>
and from this I get the following files tailed:
/n01/oraadmin1/diag/tnslsnr
/n01/oraadmin1/diag/tnslsnr/mobridge/listener_mobridge/trace/listener_mobridge.log
/n01/oraadmin1/diag/tnslsnr/mobridge/listener_mobridge/alert/log.xml
/n01/oraadmin1/diag/tnslsnr/moberly/listener_moberly/trace/listener_moberly.log
/n01/oraadmin1/diag/tnslsnr/moberly/listener_moberly/alert/log.xml
The issue is Splunk sits on both sides of the cluster and tails files ( more that what is listed) and they both index the same data, log.xml files, because it is written to both sides of the cluster. I am trying to create one tarball I can roll out to all DB servers without having to manually input each $HOSTNAME for the files to be monitored.
In the case above I have servers "moberly" and "mobridge" files indexing on both servers....thus creating twice the necessary amount of data indexed.
I am trying to figure out how Splunk can be taught to only index the data that comes from itself and not the other side of the cluster too. Confusing?....probably.
If you have insight I would be appreciative.