|
I have a Splunk deployment with one search-head and multiple indexers and I would like to install the Splunk on Splunk app to analyze and troubleshoot problems on these instances. Were should I install the app? Are there other components that need to be installed and configured? |
|
Starting with version 2.0, the Splunk on Splunk app (a.k.a SoS) leverages distributed search to allow introspective analysis and troubleshooting on your deployment from a centralized location. Let's cover the details of deploying the SoS app, F.A.Q-style: - Where should SoS be installed? The SoS app should be installed on your search-head. - What if I have more than one search-head? SoS can only analyze and report on Splunk instances that it can reach by means of distributed search. Unless you have a federating search-head for which the other search-heads are declared as search-peers, you should install SoS on each search-head that you wish to gain introspection on. - What about search-head pooling? Any extra steps I need to take to install SoS on a search-head pool? You will almost certainly need to manually restart Splunk on the pool members other than the one where SoS was installed from the user interface in order for all pool members to become aware of the app. - Are there any requirements for SoS to work? The SoS app depends on the UI module library of the Sideview Utils app. Make sure you install SVU (minimum version required : 1.17) prior to SoS. - Does anything need to be installed on the search peers? Optionally, you can install the SoS technology add-on on your Unix and Linux search peers. This add-on provides scripted inputs that track the resource usage (CPU, memory, file descriptors) of Splunk. - Do I also need to install the SoS technology add-on on the search-head? No, that would be redundant. The SoS app ships with the same data inputs than the technology add-on. - What do I need to do for the SoS data inputs to track Splunk resource usage? By default, the data inputs for SoS and SoS-TA are disabled. They must be enabled in the UI (look for - What if my search-head is configured to forward data back to the search peers? Any action required for the SoS app to work in that scenario? If the search-head where the SoS app is installed forwards its own events to the indexers it queries (typically, to spray summarized events back to the indexers) you have to make sure that events for the - What about my heavy forwarder? Can SoS query and report on it? Yes. Please see this Splunk Answer for details on how to achieve this. - How can I make sure that SoS reports accurate license usage information in the Metrics view? |
|
I have the SoS app installed on my search head pool. I also have the search head splunk server logs ( from var/log/splunk that get indexed into _internal) being forwarded into the indexer cluster. Sideview Utils is required. All working great, awesome insights to be had. Care to share your configuration? I'm trying to figure out how to index the logs from my search head pool on my indexers.
(26 Jan, 09:39)
mikehale0
@mikehale0 : Did my suggestion of adding the following configuration to $SPLUNK_HOME/etc/apps/sos/local/outputs.conf not work?
(26 Jan, 10:00)
hexx ♦
@hexx I did try that. Upon further investigation it looks like the search heads are having trouble connecting to the indexers:
(26 Jan, 10:23)
mikehale0
@mikehale0 : Has forwarding from the search-head to the indexers ever worked? Was this failure introduced when adding the suggested configuration change?
(26 Jan, 10:24)
hexx ♦
No, it never was working. I needed to add
(26 Jan, 10:57)
mikehale0
Sounds about right :) Let us know if things don't work out. If that's the case, perhaps it would be best to open a new Splunk Answer specifically for that problem. But hopefully, everything is working just fine!
(26 Jan, 11:02)
hexx ♦
showing 5 of 6
show 1 more comments ▼
|
|
I'm running splunk 4.3. Here are the searcher and indexer configs I came up with plus a query to verify everything is working: searcher inputs.conf:
searcher outputs.conf:
indexer inputs.conf:
query to verify (should include all active searchers and indexers):
Note that since you have set
(26 Jan, 12:03)
hexx ♦
Makes sense. Updating my post...
(26 Jan, 12:19)
mikehale0
|
|
In a recent example, we also installed the S.o.S TA on a heavy forwarder as a means to understand network throughput and ingestion rate. We made the forwarder a search peer of the search head which had the S.o.S application installed, and it worked very well. We were not indexing and forwarding, and we also did not attempt with a universal forwarder. Give it a shot if you need to troubleshoot a specific forwarder. Glad to hear of more advanced and creative deployments of SoS, thanks for sharing Fred!
(28 Jan, 14:22)
hexx ♦
|
