<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SoS : &amp;quot;server to query&amp;quot; pulldown not listing search peers in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95344#M6514</link>
    <description>&lt;P&gt;This is most peculiar. Do you happen to have installed several Splunk instances on the same machine? I am very intrigued by the origin of this "abc123" string. Can we now see the output of the following search?&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| btool inputs | search "/var/log/splunk"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I am particularly interested in what you will see for the line containing "host = ".&lt;/P&gt;</description>
    <pubDate>Sat, 14 Jul 2012 07:55:14 GMT</pubDate>
    <dc:creator>hexx</dc:creator>
    <dc:date>2012-07-14T07:55:14Z</dc:date>
    <item>
      <title>SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95339#M6509</link>
      <description>&lt;P&gt;I have added Splunk on Splunk to my new distributed search environment after having such good luck with the previous installation. I am now running into a bit of a difficulty getting the "server to query" drop-down to fill correctly.&lt;BR /&gt;
With SoS v2.1 and SideView v1.3.4 installed on my SuSE 11.1 Search head, with (4) Indexers all running Splunk v4.3.2 as part of the distributed search environment, my only option to search SoS is the Search head or "dns". This is odd behavior because my Search head recognizes the (4) distributed Indexers in its list, but for whatever reason SoS only wants to list them in the "Hostname" field directly below the Drop-down menu.&lt;/P&gt;

&lt;P&gt;Any ideas as to why this might occur or how to correct SoS to autofill the Drop-down?&lt;BR /&gt;
Looking closer at the ../sos/lookups/splunk_instances_info.csv    file I see three line entries. The first starting with "sos_server"; the second is my Search server hostname; the third starts with "dns".&lt;BR /&gt;
Each line lists many comma delimited entries, with both lines two and three listing the same values except for the first column where they differ by &lt;HOSTNAME&gt; &amp;amp; DNS.&lt;/HOSTNAME&gt;&lt;/P&gt;

&lt;P&gt;On the previous installation of SoS where it works great, the ../sos/lookups/splunk_instances_info.csv  is actually a "gz" file and the entries within are very simple. Not like the problem installation where there are many, many more column variables to fill in and the file name ends in .csv.&lt;/P&gt;

&lt;P&gt;Thoughts? Ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:03:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95339#M6509</guid>
      <dc:creator>MasterOogway</dc:creator>
      <dc:date>2020-09-28T12:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95340#M6510</link>
      <description>&lt;P&gt;It seems that your search peers may not be generating the expected results for the &lt;CODE&gt;getallhosts&lt;/CODE&gt; custom command that allows the app to identify available instances and populate the "Server to query" menu.&lt;/P&gt;

&lt;P&gt;What results do you get when searching for &lt;CODE&gt;| get_splunk_servers&lt;/CODE&gt; from &lt;CODE&gt;http[s]://[search-head hostname]:[splunkweb port]/en-US/app/sos/flashtimeline&lt;/CODE&gt;?&lt;/P&gt;

&lt;P&gt;Do note that the &lt;CODE&gt;splunk_instances_info.csv&lt;/CODE&gt; lookup table is &lt;EM&gt;not&lt;/EM&gt; involved in the population of the "Server to query" pulldown. It is only used for the "A glimpse of your Splunk instance" in the home view.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2012 16:15:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95340#M6510</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2012-07-12T16:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95341#M6511</link>
      <description>&lt;P&gt;| get_splunk_servers&lt;/P&gt;

&lt;P&gt;is not an acceptable command that I can run at the "search bar" from the ../flashtimeline&lt;/P&gt;

&lt;P&gt;I also tried just splunk_servers without luck.  I do however get results listed when I run your long command string found within this URL:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/38452/the-lookup-table-splunk_instances_info-is-invalid-sos?page=1&amp;amp;focusedAnswerId=52853#52853" target="_blank"&gt;http://splunk-base.splunk.com/answers/38452/the-lookup-table-splunk_instances_info-is-invalid-sos?page=1&amp;amp;focusedAnswerId=52853#52853&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;What else can I attempt to pull the server list?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:04:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95341#M6511</guid>
      <dc:creator>MasterOogway</dc:creator>
      <dc:date>2020-09-28T12:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95342#M6512</link>
      <description>&lt;P&gt;Oh I see what happened, the formatting ate my back-ticks. The command you should run is:&lt;BR /&gt;
    | `get_splunk_servers`&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:04:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95342#M6512</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2020-09-28T12:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95343#M6513</link>
      <description>&lt;P&gt;I only get two columns, one starting with abc123 and the other dns, and nothing else. Should I be seeing a list of the Indexing servers here? Do you need to see a conf file to help explain what might be happening?&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
sos_server  count   dc                 server_label          server_role&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;abc123           2         2            search-head : abc123    search-head&lt;/P&gt;

&lt;P&gt;dns                  4         2&lt;BR /&gt;
&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:04:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95343#M6513</guid>
      <dc:creator>MasterOogway</dc:creator>
      <dc:date>2020-09-28T12:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95344#M6514</link>
      <description>&lt;P&gt;This is most peculiar. Do you happen to have installed several Splunk instances on the same machine? I am very intrigued by the origin of this "abc123" string. Can we now see the output of the following search?&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| btool inputs | search "/var/log/splunk"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I am particularly interested in what you will see for the line containing "host = ".&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jul 2012 07:55:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95344#M6514</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2012-07-14T07:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95345#M6515</link>
      <description>&lt;P&gt;the "abc123" is only a replacement name for the actual server name that was listed....I simply anonymized the entry substituting the real name for "abc123".&lt;/P&gt;

&lt;P&gt;I also tried to run the | btool inputs | search "/var/log/splunk"   on the search line but was unsuccessful, so I substituted for what you appeared to be looking for...any entries from the inputs file that had splunk in it.&lt;/P&gt;

&lt;P&gt;&lt;ROOT&gt;# splunk cmd btool inputs list | grep splunk&lt;/ROOT&gt;&lt;/P&gt;

&lt;P&gt;[batch:///emat/splunk/var/spool/splunk]&lt;/P&gt;

&lt;P&gt;[batch:///emat/splunk/var/spool/splunk/...stash_new]&lt;/P&gt;

&lt;P&gt;[fschange:/emat/splunk/etc]&lt;/P&gt;

&lt;P&gt;[monitor:///emat/splunk/etc/splunk.version]&lt;/P&gt;

&lt;P&gt;sourcetype = splunk_version&lt;/P&gt;

&lt;P&gt;[monitor:///emat/splunk/var/log/splunk]&lt;/P&gt;

&lt;P&gt;[script:///emat/splunk/etc/apps/sos/bin/lsof_sos.sh]&lt;/P&gt;

&lt;P&gt;[script:///emat/splunk/etc/apps/sos/bin/ps_sos.sh]&lt;/P&gt;

&lt;P&gt;[script:///emat/splunk/etc/apps/tagapp/bin/tagapp.pl]&lt;/P&gt;

&lt;P&gt;[splunktcp]&lt;/P&gt;

&lt;H1&gt;or this:&lt;/H1&gt;

&lt;P&gt;&lt;ROOT&gt;# splunk cmd btool inputs list | grep sos&lt;/ROOT&gt;&lt;/P&gt;

&lt;P&gt;[script:///emat/splunk/etc/apps/sos/bin/lsof_sos.sh]&lt;/P&gt;

&lt;P&gt;index = sos&lt;/P&gt;

&lt;P&gt;source = lsof_sos&lt;/P&gt;

&lt;P&gt;[script:///emat/splunk/etc/apps/sos/bin/ps_sos.sh]&lt;/P&gt;

&lt;P&gt;index = sos&lt;/P&gt;

&lt;P&gt;source = ps_sos&lt;/P&gt;

&lt;P&gt;If neither of these helped I can run some others.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2012 17:12:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95345#M6515</guid>
      <dc:creator>MasterOogway</dc:creator>
      <dc:date>2012-07-16T17:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95346#M6516</link>
      <description>&lt;P&gt;Could you elaborate on exactly how the search using btool as a search command was unsuccessful? Also, the command line output we need is specifically what you see for the value of the "host" parameter in the file monitoring stanza of inputs.conf that targets $SPLUNK_HOME/var/log/splunk.&lt;BR /&gt;&lt;BR /&gt;
In the output you provided, I would be interested in the value of "host =" under the " [monitor:///emat/splunk/var/log/splunk]" stanza.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2012 18:52:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95346#M6516</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2012-07-16T18:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95347#M6517</link>
      <description>&lt;P&gt;Here is the HOST information:&lt;/P&gt;

&lt;P&gt;splunk cmd btool inputs list | grep -A20 "///emat/splunk/var/log/splunk"&lt;/P&gt;

&lt;P&gt;[monitor:///emat/splunk/var/log/splunk]&lt;/P&gt;

&lt;P&gt;_rcvbuf = 1572864&lt;/P&gt;

&lt;P&gt;host = c111xbz     - or the same as "abc123"&lt;/P&gt;

&lt;P&gt;To answer how |btool input  failed&lt;/P&gt;

&lt;P&gt;At the search line I add this: &lt;STRONG&gt;| btool inputs | search "/var/log/splunk"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;and the error that comes back is this:&lt;BR /&gt;
&lt;STRONG&gt;"Search operation 'btool' is unknown. You might not have permission to run this operation."&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I tried adding a single quote around |btool input'    -- to no avail.&lt;/P&gt;

&lt;P&gt;I even tried to send just |btool input    but that failed too.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2012 19:29:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95347#M6517</guid>
      <dc:creator>MasterOogway</dc:creator>
      <dc:date>2012-07-16T19:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95348#M6518</link>
      <description>&lt;P&gt;You need to run that command from the flashtimeline view in the context of the S.o.S app. The "btool" search command is not available to other apps. Please go to &lt;CODE&gt;http[s]://[search-head hostname]:[splunkweb port]/en-US/app/sos/flashtimeline&lt;/CODE&gt; and run &lt;CODE&gt;| btool inputs | search "/var/log/splunk"&lt;/CODE&gt; from the search bar there.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2012 19:39:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95348#M6518</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2012-07-16T19:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95349#M6519</link>
      <description>&lt;P&gt;Correct...and as administrator I still get his Permissions error when I run any &lt;STRONG&gt;| btool&lt;/STRONG&gt; command. I tried multiple attempts and quoting in case something misfired. Anything else I can try for this troubleshooting exercise?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2012 20:00:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95349#M6519</guid>
      <dc:creator>MasterOogway</dc:creator>
      <dc:date>2012-07-16T20:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95350#M6520</link>
      <description>&lt;P&gt;That is &lt;EM&gt;very&lt;/EM&gt; strange, and would somewhat explain why you are not seeing the expected entries in the "Server to query" pulldown. Would you mind trying to upgrade to SoS 2.2 and see if that has any positive effect?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2012 22:24:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95350#M6520</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2012-07-16T22:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95351#M6521</link>
      <description>&lt;P&gt;Ok....we finally have a winner. Upgrading to S.o.S. v2.2 not only fixed my issue on seeing the Indexers, but also allows me to run the "| btool inputs | search "/var/log/splunk".  And reports on all (4) additional Indexers. &lt;BR /&gt;
Thanks for your patience and persistance, HEXX. A check goes in the WIN column.&lt;BR /&gt;
I can't vote for my own, so you will have to vote for your answer to my question.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2012 23:16:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95351#M6521</guid>
      <dc:creator>MasterOogway</dc:creator>
      <dc:date>2012-07-16T23:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95352#M6522</link>
      <description>&lt;P&gt;I would recommend to upgrade to SoS 2.2 as the logic that populates the "Server to query" pulldown has been rewritten to be faster and configurable (see &lt;A href="http://splunk-base.splunk.com/answers/48874"&gt;this Splunk Answer&lt;/A&gt; for more details) in that release. That might very well take care of your problem.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2012 23:21:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95352#M6522</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2012-07-16T23:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95353#M6523</link>
      <description>&lt;P&gt;Excellent news! Let me write that as an answer that you can accept &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2012 23:22:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95353#M6523</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2012-07-16T23:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: SoS : "server to query" pulldown not listing search peers</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95354#M6524</link>
      <description>&lt;P&gt;This finally corrected the issue of not filling in the server host list found in the SoS App while using SoSv2.1.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2012 20:23:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SoS-quot-server-to-query-quot-pulldown-not-listing-search-peers/m-p/95354#M6524</guid>
      <dc:creator>MasterOogway</dc:creator>
      <dc:date>2012-07-17T20:23:02Z</dc:date>
    </item>
  </channel>
</rss>

