<?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: Is there an API to write data directly into Splunk in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Is-there-an-API-to-write-data-directly-into-Splunk/m-p/103681#M1546</link>
    <description>&lt;P&gt;Why don't you just install a dedicated Universal Forwarder on your gateway that has a raw TCP input and forwards on to your indexer(s) ?&lt;/P&gt;

&lt;P&gt;As far as I am aware, the Splunk forwarding protocol is not released as a standalone API in any language.&lt;/P&gt;

&lt;P&gt;As far as an alternative API for inputing data , there is a REST endpoint, but you won't get the features of the UF unless you code something yourself(load balancing, throughput throttling, queuing etc..)&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/basic-tutorial/SP-CAAADQT"&gt;REST API&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Scroll down to the "Adding Data" section.&lt;/P&gt;

&lt;P&gt;You could code the REST calls yourself, or even better, use the Python SDK :&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/sdks-overview/SP-CAAADQA"&gt;Splunk SDKs&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2011 02:23:32 GMT</pubDate>
    <dc:creator>Damien_Dallimor</dc:creator>
    <dc:date>2011-11-04T02:23:32Z</dc:date>
    <item>
      <title>Is there an API to write data directly into Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Is-there-an-API-to-write-data-directly-into-Splunk/m-p/103680#M1545</link>
      <description>&lt;P&gt;My question was also asked in&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/10113/using-custom-code-to-push-log-data-directly-to-splunk-over-tcp"&gt;http://splunk-base.splunk.com/answers/10113/using-custom-code-to-push-log-data-directly-to-splunk-over-tcp&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Where the consensus was to avoid doing this (trying to write directly into Splunk over a TCP socket) and use syslog appender or other stuff.&lt;/P&gt;

&lt;P&gt;However the data we want to log is on a multicast network and we want to produce a gateway that will take it off that network and log it to spunk, so rather than writing a file (and worrying about file permissions) we would rather just write to a socket.&lt;/P&gt;

&lt;P&gt;So if we want to do this is there a spec for or a (Java) API or the protocol to use (including the failover/load balancing stuff) to send data directly into Splunk.&lt;/P&gt;

&lt;P&gt;Les&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2011 23:44:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Is-there-an-API-to-write-data-directly-into-Splunk/m-p/103680#M1545</guid>
      <dc:creator>lspiro</dc:creator>
      <dc:date>2011-11-03T23:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an API to write data directly into Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Is-there-an-API-to-write-data-directly-into-Splunk/m-p/103681#M1546</link>
      <description>&lt;P&gt;Why don't you just install a dedicated Universal Forwarder on your gateway that has a raw TCP input and forwards on to your indexer(s) ?&lt;/P&gt;

&lt;P&gt;As far as I am aware, the Splunk forwarding protocol is not released as a standalone API in any language.&lt;/P&gt;

&lt;P&gt;As far as an alternative API for inputing data , there is a REST endpoint, but you won't get the features of the UF unless you code something yourself(load balancing, throughput throttling, queuing etc..)&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/basic-tutorial/SP-CAAADQT"&gt;REST API&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Scroll down to the "Adding Data" section.&lt;/P&gt;

&lt;P&gt;You could code the REST calls yourself, or even better, use the Python SDK :&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/sdks-overview/SP-CAAADQA"&gt;Splunk SDKs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 02:23:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Is-there-an-API-to-write-data-directly-into-Splunk/m-p/103681#M1546</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2011-11-04T02:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an API to write data directly into Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Is-there-an-API-to-write-data-directly-into-Splunk/m-p/103682#M1547</link>
      <description>&lt;P&gt;That sounds like exactly what we want. &lt;/P&gt;

&lt;P&gt;We're new to Splunk - I will find that part of TFM and Read it.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Les&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 08:42:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Is-there-an-API-to-write-data-directly-into-Splunk/m-p/103682#M1547</guid>
      <dc:creator>lspiro</dc:creator>
      <dc:date>2011-11-04T08:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an API to write data directly into Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Is-there-an-API-to-write-data-directly-into-Splunk/m-p/103683#M1548</link>
      <description>&lt;P&gt;Les - Noticed that you mentioned Java as well.   We are currently granting pre-release access to our Java SDK on GitHub, which I can give you as well.  Just send me an email to:   &lt;A href="mailto:psanford@splunk.com"&gt;psanford@splunk.com&lt;/A&gt;  and give me your GitHub ID.  &lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2011 17:57:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Is-there-an-API-to-write-data-directly-into-Splunk/m-p/103683#M1548</guid>
      <dc:creator>psanford_splunk</dc:creator>
      <dc:date>2011-11-08T17:57:46Z</dc:date>
    </item>
  </channel>
</rss>

