<?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 it possible to configure HTTP Event Collector in a custom app? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-configure-HTTP-Event-Collector-in-a-custom-app/m-p/203159#M40147</link>
    <description>&lt;P&gt;Thank you.&lt;BR /&gt;
How do you build new tokens ? I mean, is it a random string that you can build yourself, or are you using UI on a splunk sandbox to generate it ?&lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2016 15:27:25 GMT</pubDate>
    <dc:creator>laberthelemy</dc:creator>
    <dc:date>2016-11-04T15:27:25Z</dc:date>
    <item>
      <title>Is it possible to configure HTTP Event Collector in a custom app?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-configure-HTTP-Event-Collector-in-a-custom-app/m-p/203157#M40145</link>
      <description>&lt;P&gt;Is it possible to configure HTTP Event Collector in a custom app, that is to say, not in the splunk_httpinput application?&lt;BR /&gt;
I think I won't be able to create new tokens with CLI, since it's using splunk_httpinput by default ...&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:38:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-configure-HTTP-Event-Collector-in-a-custom-app/m-p/203157#M40145</guid>
      <dc:creator>laberthelemy</dc:creator>
      <dc:date>2020-09-29T11:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to configure HTTP Event Collector in a custom app?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-configure-HTTP-Event-Collector-in-a-custom-app/m-p/203158#M40146</link>
      <description>&lt;P&gt;Yes you can by just including an inputs.conf. I currently do this with an app called &lt;STRONG&gt;hec_all_hf&lt;/STRONG&gt; containing the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[http]
disabled = 0
index = main
sourcetype = generic_single_line
port = 8088
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;With other app per env/datacenter. Such as &lt;STRONG&gt;hec_dc1&lt;/STRONG&gt; using the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[http://availabiltyTest]
disabled = 0
index = main
indexes = main
source = healthcheck
token = DAD09EFD-29AA-4E9A-90CE-9808ACDE
sourcetype = remote
sourcetypeSelection = Manual
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:39:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-configure-HTTP-Event-Collector-in-a-custom-app/m-p/203158#M40146</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2020-09-29T11:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to configure HTTP Event Collector in a custom app?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-configure-HTTP-Event-Collector-in-a-custom-app/m-p/203159#M40147</link>
      <description>&lt;P&gt;Thank you.&lt;BR /&gt;
How do you build new tokens ? I mean, is it a random string that you can build yourself, or are you using UI on a splunk sandbox to generate it ?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 15:27:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-configure-HTTP-Event-Collector-in-a-custom-app/m-p/203159#M40147</guid>
      <dc:creator>laberthelemy</dc:creator>
      <dc:date>2016-11-04T15:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to configure HTTP Event Collector in a custom app?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-configure-HTTP-Event-Collector-in-a-custom-app/m-p/203160#M40148</link>
      <description>&lt;P&gt;I generate them on my deployment server or on my local machine.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 15:52:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-configure-HTTP-Event-Collector-in-a-custom-app/m-p/203160#M40148</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2016-11-04T15:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to configure HTTP Event Collector in a custom app?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-configure-HTTP-Event-Collector-in-a-custom-app/m-p/203161#M40149</link>
      <description>&lt;P&gt;I am in the process of working on a standard way to create new HEC tokens, and have them automatically configured on all Heavy Forwarders (I use a Deployment Server and, like you, my own custom app for Heavy Forwarder configs.)&lt;/P&gt;

&lt;P&gt;So if I understand you correctly, you generate new tokens (disabled) on your deployment server using the web UI, and then  you are copying the new stanza from inputs.conf in the splunk_httpinput app to your custom app and then enabling them there?&lt;/P&gt;

&lt;P&gt;That is what I was thinking of doing, and was looking around to see if anyone else was doing this or had any other options when I came across this.&lt;/P&gt;

&lt;P&gt;My only other option so far is to keep using the splunk_httpinput app, have it configured and deployed via the Deployment Server, but in this case the tokens would then also be enabled on the Deployment Server - which probably doesn't matter but Id rather not have it set up this way.  I already have a Deployment Server in place, so can not set it up on one of the Heavy Forwarders as Splunk documentation recommends.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 19:43:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-configure-HTTP-Event-Collector-in-a-custom-app/m-p/203161#M40149</guid>
      <dc:creator>gn694</dc:creator>
      <dc:date>2017-01-17T19:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to configure HTTP Event Collector in a custom app?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-configure-HTTP-Event-Collector-in-a-custom-app/m-p/203162#M40150</link>
      <description>&lt;P&gt;Typically you never want to manage built in app such as splunk_httpinput, launcher, search.  The reason being is that if you remove any of those apps from a ServerClass stanza will complete remove it from the deployment client.  In my case I have multiple sets of HECs through out my environments.  &lt;/P&gt;

&lt;P&gt;An alternative is to programmatically create tokens via the api and move them to the appropriate app. &lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 18:46:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-configure-HTTP-Event-Collector-in-a-custom-app/m-p/203162#M40150</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2017-01-19T18:46:44Z</dc:date>
    </item>
  </channel>
</rss>

