<?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 API - How to? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-How-to/m-p/19258#M2709</link>
    <description>&lt;P&gt;Thank you Ziegfried! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Apr 2012 15:46:08 GMT</pubDate>
    <dc:creator>jdunlea_splunk</dc:creator>
    <dc:date>2012-04-05T15:46:08Z</dc:date>
    <item>
      <title>REST API - How to?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-How-to/m-p/19256#M2707</link>
      <description>&lt;P&gt;I want to know the following in relation to the REST API:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Can we hit endpoints on UFs and LWFs?&lt;/LI&gt;
&lt;LI&gt;What is the REST endpoint to check if an instance is alive?&lt;/LI&gt;
&lt;LI&gt;Can we read a splunk log file from the file system itself using the REST API? EG: On a LWF, where we are not indexing any data, but we are writing to splunk logs files - Is there a way to view/query/tail the log files directly from the REST API?&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2012 22:37:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-How-to/m-p/19256#M2707</guid>
      <dc:creator>jdunlea_splunk</dc:creator>
      <dc:date>2012-04-04T22:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: REST API - How to?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-How-to/m-p/19257#M2708</link>
      <description>&lt;P&gt;1) Yes, depending on the following preconditions:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Network access is not blocked to the remote machine on port 8089&lt;/LI&gt;
&lt;LI&gt;Remote login on splunkd is enabled on the UF/LWF (ie. an admin password has been set)
see &lt;A href="http://blogs.splunk.com/2010/07/19/introducing-allowremotelogin/"&gt;http://blogs.splunk.com/2010/07/19/introducing-allowremotelogin/&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;2) Probably any. Being able to connect to the splunkd webserver at all indicates the process is running.&lt;/P&gt;

&lt;P&gt;3) Don't think so. You can forward the splunk logs to your indexer(s), though. Eg. by adding the following to the outputs.conf on your UF/LWF:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
forwardedindex.3.whitelist = _internal
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Apr 2012 07:06:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-How-to/m-p/19257#M2708</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2012-04-05T07:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: REST API - How to?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-How-to/m-p/19258#M2709</link>
      <description>&lt;P&gt;Thank you Ziegfried! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 15:46:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-How-to/m-p/19258#M2709</guid>
      <dc:creator>jdunlea_splunk</dc:creator>
      <dc:date>2012-04-05T15:46:08Z</dc:date>
    </item>
  </channel>
</rss>

