<?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: What are my options for automatically ingesting data into Splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-are-my-options-for-automatically-ingesting-data-into-Splunk/m-p/306150#M57767</link>
    <description>&lt;P&gt;@thisissplunk, sorry I missed REST API but that can be implemented as well: &lt;A href="https://www.splunk.com/blog/2016/05/11/splunking-continuous-rest-data.html"&gt;https://www.splunk.com/blog/2016/05/11/splunking-continuous-rest-data.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I would recommend HTTP Event Collector however you might have to reach out implementation requirements as well.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Mar 2018 05:08:46 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-03-29T05:08:46Z</dc:date>
    <item>
      <title>What are my options for automatically ingesting data into Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-are-my-options-for-automatically-ingesting-data-into-Splunk/m-p/306146#M57763</link>
      <description>&lt;P&gt;I'm trying to determine the architecture options for automatically ingesting data into Splunk, i.e I place data in a folder -&amp;gt; run a script -&amp;gt; supply an index name -&amp;gt; supply a sourcetype -&amp;gt; script gets data into new index somehow.&lt;/P&gt;

&lt;P&gt;Now, you may be asking why I don't just create a monitoring directory and make a script to dump data there. That's because each set of data will be of a different data/sourcetype and for a &lt;EM&gt;new&lt;/EM&gt; index. Basically, think of taking in random, one-off sets of data that need different indexes all the time for analysis, &lt;EM&gt;NOT&lt;/EM&gt; a log source from one machine constantly being pumped in.&lt;/P&gt;

&lt;P&gt;So, with that said I see my options as:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Script the creation of monitoring directories for each new index, as well as the API calls to set inputs.conf stanzas, while scp'ing the data into the monitoring directory.&lt;/LI&gt;
&lt;LI&gt;Use the API to directly send data from anywhere&lt;/LI&gt;
&lt;LI&gt;TCP input???&lt;/LI&gt;
&lt;LI&gt;???&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;For #2, I don't know if this works for our instance because I've seen it only send to one single index in the past instead of load balancing. Are there any other issues ingesting large amounts of data with the API?&lt;/P&gt;

&lt;P&gt;Any other possibilities here?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 15:59:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-are-my-options-for-automatically-ingesting-data-into-Splunk/m-p/306146#M57763</guid>
      <dc:creator>thisissplunk</dc:creator>
      <dc:date>2018-03-28T15:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: What are my options for automatically ingesting data into Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-are-my-options-for-automatically-ingesting-data-into-Splunk/m-p/306147#M57764</link>
      <description>&lt;P&gt;@thisissplunk there are multiple options. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;1) Route and Filter Data using transforms.conf&lt;/STRONG&gt;:&lt;BR /&gt;
Contrary to your assumption, with Splunk you can monitor a Splunk folder and have transformations defined on your sourcetype to re-route data for specific index with a new sourcetype. Refer to following documentation: &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Advancedsourcetypeoverrides"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Advancedsourcetypeoverrides&lt;/A&gt; &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;PS: You would definitely need to test re-routing in non prod environment first. This should be quite easy to implement for Splunk Admins.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;2) Scripted Input to Splunk&lt;/STRONG&gt;&lt;BR /&gt;
Refer to following resources to setup scripted input to Splunk.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/ScriptSetup"&gt;https://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/ScriptSetup&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://sublimerobots.com/2017/01/simple-splunk-scripted-input-example/"&gt;https://sublimerobots.com/2017/01/simple-splunk-scripted-input-example/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;3) HTTP Event Collector&lt;/STRONG&gt;&lt;BR /&gt;
HTTP Event Collector can be configured so that your Application/s can directly communicate with Splunk without having to create a log first or scripted input.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/AboutHEC"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/AboutHEC&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://dev.splunk.com/view/event-collector/SP-CAAAE6M"&gt;http://dev.splunk.com/view/event-collector/SP-CAAAE6M&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 17:18:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-are-my-options-for-automatically-ingesting-data-into-Splunk/m-p/306147#M57764</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-03-28T17:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: What are my options for automatically ingesting data into Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-are-my-options-for-automatically-ingesting-data-into-Splunk/m-p/306148#M57765</link>
      <description>&lt;P&gt;Thank you, I'll review soon.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 17:28:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-are-my-options-for-automatically-ingesting-data-into-Splunk/m-p/306148#M57765</guid>
      <dc:creator>thisissplunk</dc:creator>
      <dc:date>2018-03-28T17:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: What are my options for automatically ingesting data into Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-are-my-options-for-automatically-ingesting-data-into-Splunk/m-p/306149#M57766</link>
      <description>&lt;P&gt;Btw, I don't see the REST API listed here. Why is that? Is the HTTP Event Collector a better option? Can you even use the REST API to send data to multiple indexers?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 20:26:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-are-my-options-for-automatically-ingesting-data-into-Splunk/m-p/306149#M57766</guid>
      <dc:creator>thisissplunk</dc:creator>
      <dc:date>2018-03-28T20:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: What are my options for automatically ingesting data into Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-are-my-options-for-automatically-ingesting-data-into-Splunk/m-p/306150#M57767</link>
      <description>&lt;P&gt;@thisissplunk, sorry I missed REST API but that can be implemented as well: &lt;A href="https://www.splunk.com/blog/2016/05/11/splunking-continuous-rest-data.html"&gt;https://www.splunk.com/blog/2016/05/11/splunking-continuous-rest-data.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I would recommend HTTP Event Collector however you might have to reach out implementation requirements as well.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 05:08:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-are-my-options-for-automatically-ingesting-data-into-Splunk/m-p/306150#M57767</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-03-29T05:08:46Z</dc:date>
    </item>
  </channel>
</rss>

