<?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: Rest search command query a separate Splunk instance in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48975#M11714</link>
    <description>&lt;P&gt;What about in the "Distributed search"?&lt;/P&gt;</description>
    <pubDate>Wed, 28 Aug 2013 04:41:15 GMT</pubDate>
    <dc:creator>HiroshiSatoh</dc:creator>
    <dc:date>2013-08-28T04:41:15Z</dc:date>
    <item>
      <title>Rest search command query a separate Splunk instance</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48974#M11713</link>
      <description>&lt;P&gt;I have a need to be able to do a search in the Splunk UI using the Rest search command against a completely different instance of Splunk. I see the options allow you to specify a splunk server, is that only within your splunk environment? I don't see a mechanism to include a username or password. I know you can do this with the Rest API utilizing python but would like to be able to pull directly from the Splunk interface without writing an external command to do it. Any ideas?&lt;BR /&gt;
Thanks,&lt;BR /&gt;
-Bob&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 00:36:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48974#M11713</guid>
      <dc:creator>rdownie</dc:creator>
      <dc:date>2013-08-28T00:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rest search command query a separate Splunk instance</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48975#M11714</link>
      <description>&lt;P&gt;What about in the "Distributed search"?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 04:41:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48975#M11714</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2013-08-28T04:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rest search command query a separate Splunk instance</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48976#M11715</link>
      <description>&lt;P&gt;Nope, you can't query non-related Splunk instances from the web interface - unless you write your own custom command for doing something like that. You can, obviously, query Splunk instances that have been added as search peers, though.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 07:25:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48976#M11715</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-08-28T07:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rest search command query a separate Splunk instance</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48977#M11716</link>
      <description>&lt;P&gt;Thanks, that is what I suspected. Unfortunately the Splunk instance is embedded in a product that only allows you accees through Rest. I guess using python to write a command through the Rest API is the best option.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 10:26:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48977#M11716</guid>
      <dc:creator>rdownie</dc:creator>
      <dc:date>2013-08-28T10:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rest search command query a separate Splunk instance</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48978#M11717</link>
      <description>&lt;P&gt;Unfortunately, I don't believe I can add the other Splunk instance as a search peer.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 10:29:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48978#M11717</guid>
      <dc:creator>rdownie</dc:creator>
      <dc:date>2013-08-28T10:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rest search command query a separate Splunk instance</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48979#M11718</link>
      <description>&lt;P&gt;You can use the &lt;A href="http://apps.splunk.com/app/1546"&gt;REST API Modular Input&lt;/A&gt; to poll data from any REST endpoint , including remote Splunk instances.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 12:01:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48979#M11718</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2013-08-28T12:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rest search command query a separate Splunk instance</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48980#M11719</link>
      <description>&lt;P&gt;It I wanted to try because I can set from the GUI.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 13:35:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48980#M11719</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2013-08-28T13:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rest search command query a separate Splunk instance</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48981#M11720</link>
      <description>&lt;P&gt;This is very unfortunate, since the SOS app uses it for licensing.  Licenser is not a part of search pool.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2014 22:40:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48981#M11720</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2014-06-09T22:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rest search command query a separate Splunk instance</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48982#M11721</link>
      <description>&lt;P&gt;App has moved (&lt;A href="https://splunkbase.splunk.com/app/1546/"&gt;URL&lt;/A&gt;) &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; I'm wondering if there's an equivalent of all the &lt;A href="http://dev.splunk.com/view/managing-objects-tutorial/SP-CAAADQ5"&gt;curl solutions&lt;/A&gt; in a search query format - not from the CLI but the UI, as I have more or less the same question as topicstarter. &lt;/P&gt;

&lt;P&gt;On my webinterface of the heavy forwarder, I'd like to run a (remote) saved search on the search head, to check for the license usage and if &amp;gt;99% stop the heavy forwarding mechanism. This works fine on my testing environment with a single instance machine performing all splunk functionalities on 1 machine. &lt;BR /&gt;
I can run a CLI sh file connecting and executing the search, but a security issue is I have to plain text include admin:password in the file as every splunk server has its own credentials. Also, on the production environment I don't want to create scripts on the commandline; the general idea is to keep all in the UI and saved searches and prevent prompt access to files. &lt;/P&gt;

&lt;P&gt;So in brief: does something like "| rest endpoint=searchheaduriorname:8089 | search /services/somequeryremotely" exist, or is it intentionally or not made available with REST?&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 07:37:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rest-search-command-query-a-separate-Splunk-instance/m-p/48982#M11721</guid>
      <dc:creator>tweaktubbie</dc:creator>
      <dc:date>2016-05-11T07:37:44Z</dc:date>
    </item>
  </channel>
</rss>

