<?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 Is it possible to make Splunk Inputs in automated way? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-make-Splunk-Inputs-in-automated-way/m-p/363670#M66234</link>
    <description>&lt;P&gt;Hi All!&lt;/P&gt;

&lt;P&gt;Currently we have some add-ons for tools like Jenkins, GitLab, SonarQube in our instance and we have configured all fields for them to fetch data from these tools.&lt;/P&gt;

&lt;P&gt;The problem is that e.g. for Jenkins we need to specify all project names separated by a comma and once new project appears or is deleted, we need to manually update this add-on setup fields. &lt;BR /&gt;
Is it possible to configure these fields in automated way, to avoid manual work?  ( Automatically take all Jenkins project names and fetch data from them)&lt;/P&gt;

&lt;P&gt;Looking forward for your replies&lt;BR /&gt;
Thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 19 Mar 2018 14:18:26 GMT</pubDate>
    <dc:creator>edgarsmielavs</dc:creator>
    <dc:date>2018-03-19T14:18:26Z</dc:date>
    <item>
      <title>Is it possible to make Splunk Inputs in automated way?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-make-Splunk-Inputs-in-automated-way/m-p/363670#M66234</link>
      <description>&lt;P&gt;Hi All!&lt;/P&gt;

&lt;P&gt;Currently we have some add-ons for tools like Jenkins, GitLab, SonarQube in our instance and we have configured all fields for them to fetch data from these tools.&lt;/P&gt;

&lt;P&gt;The problem is that e.g. for Jenkins we need to specify all project names separated by a comma and once new project appears or is deleted, we need to manually update this add-on setup fields. &lt;BR /&gt;
Is it possible to configure these fields in automated way, to avoid manual work?  ( Automatically take all Jenkins project names and fetch data from them)&lt;/P&gt;

&lt;P&gt;Looking forward for your replies&lt;BR /&gt;
Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 14:18:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-make-Splunk-Inputs-in-automated-way/m-p/363670#M66234</guid>
      <dc:creator>edgarsmielavs</dc:creator>
      <dc:date>2018-03-19T14:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to make Splunk Inputs in automated way?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-make-Splunk-Inputs-in-automated-way/m-p/363671#M66235</link>
      <description>&lt;P&gt;In general terms, yes.  It's fairly easy to programmatically manipulate Splunk's configuration files.   Options include (1) editing the files directly using a bit of code, (2) using the CLI ( &lt;CODE&gt;splunk add monitor&lt;/CODE&gt;, for example), and (3) using the REST API.   All of these approaches have pros/cons.  I suspect that option #2 is out for a custom TA.  Between options 1 and 3, it's a bit of a preference call.  Both options will give you lots of flexibility.&lt;/P&gt;

&lt;P&gt;I've not used the Jenkin's TA, but if you can figure out which entry in your configuration file needs to be updated, it should be fairly straightforward to update it.&lt;/P&gt;

&lt;P&gt;If you want to go down the REST API path, I'd suggest starting with the &lt;A href="http://dev.splunk.com/view/managing-objects-tutorial/SP-CAAADQ5"&gt;REST API Tutorials - Managing Objects&lt;/A&gt;, if you haven't done anything like this before with Splunk.  Then make your way over to the &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.2/RESTREF/RESTprolog"&gt;Splunk REST API Reference docs&lt;/A&gt; and look at the "Configuration" section.   &lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 15:49:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-make-Splunk-Inputs-in-automated-way/m-p/363671#M66235</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2018-03-19T15:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to make Splunk Inputs in automated way?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-make-Splunk-Inputs-in-automated-way/m-p/363672#M66236</link>
      <description>&lt;P&gt;Hi Lowell,&lt;/P&gt;

&lt;P&gt;That's great! Thank you for your answer! &lt;BR /&gt;
For now I just wanted to make sure if it's even possible and i got answer - it is! Exactly what was needed.&lt;BR /&gt;
Will definitely dig deeper into this and REST API most probably will be the path which I will choose although I'm not really experienced with this so far, but we all have been at learning stage some day. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;

&lt;P&gt;Thank you once more! &lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 07:48:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-make-Splunk-Inputs-in-automated-way/m-p/363672#M66236</guid>
      <dc:creator>edgarsmielavs</dc:creator>
      <dc:date>2018-03-20T07:48:03Z</dc:date>
    </item>
  </channel>
</rss>

