<?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 Turning _off_ https for HEC: What do I need to do to make HEC use http, not https? in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596318#M11508</link>
    <description>&lt;P&gt;&lt;BR /&gt;Hello.&lt;/P&gt;
&lt;P&gt;I'm seeing a &lt;STRONG&gt;lot&lt;/STRONG&gt; of articles in web searches about turning &lt;STRONG&gt;on&lt;/STRONG&gt; https for HEC, but approximately zilch on turning it off.&lt;/P&gt;
&lt;P&gt;I did find:&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;Whether the HTTP Event Collector server protocol is HTTP or HTTPS. 1 indicates HTTPS is enabled; 0 indicates HTTP. The default value is 1. HTTP Event Collector shares SSL settings with the Splunk Enterprise instance and can't have&amp;nbsp;&lt;/SPAN&gt;enableSSL&lt;SPAN&gt;&amp;nbsp;settings that differ from the settings on the Splunk Enterprise instance.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We need HEC to run without TLS, and can live with the Web UI not having TLS too if that'll help with HEC.&lt;/P&gt;
&lt;P&gt;But if I toss:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;[http]&lt;BR /&gt;disabled = 0&lt;BR /&gt;enableSSL = 0&lt;/P&gt;
&lt;P&gt;...into /opt/splunk/etc/apps/splunk_httpinput/local/inputs.conf and restart splunk, then HEC continues to demand https, and /opt/splunk/etc/apps/splunk_httpinput/local/inputs.conf is rewritten automatically to:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;[http]&lt;BR /&gt;disabled = 0&lt;BR /&gt;enableSSL = 1&lt;/P&gt;
&lt;P&gt;What do I need to do to make HEC use http, not https?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(We realize that https is more secure.&amp;nbsp; For our production splunk we'll use https, but for our team's development environments it just makes more sense to use http.&amp;nbsp; I've not discussed why, but I suspect https is proxied somehow)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2022 15:43:23 GMT</pubDate>
    <dc:creator>dstromberg</dc:creator>
    <dc:date>2022-05-04T15:43:23Z</dc:date>
    <item>
      <title>Turning _off_ https for HEC: What do I need to do to make HEC use http, not https?</title>
      <link>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596318#M11508</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hello.&lt;/P&gt;
&lt;P&gt;I'm seeing a &lt;STRONG&gt;lot&lt;/STRONG&gt; of articles in web searches about turning &lt;STRONG&gt;on&lt;/STRONG&gt; https for HEC, but approximately zilch on turning it off.&lt;/P&gt;
&lt;P&gt;I did find:&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;Whether the HTTP Event Collector server protocol is HTTP or HTTPS. 1 indicates HTTPS is enabled; 0 indicates HTTP. The default value is 1. HTTP Event Collector shares SSL settings with the Splunk Enterprise instance and can't have&amp;nbsp;&lt;/SPAN&gt;enableSSL&lt;SPAN&gt;&amp;nbsp;settings that differ from the settings on the Splunk Enterprise instance.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We need HEC to run without TLS, and can live with the Web UI not having TLS too if that'll help with HEC.&lt;/P&gt;
&lt;P&gt;But if I toss:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;[http]&lt;BR /&gt;disabled = 0&lt;BR /&gt;enableSSL = 0&lt;/P&gt;
&lt;P&gt;...into /opt/splunk/etc/apps/splunk_httpinput/local/inputs.conf and restart splunk, then HEC continues to demand https, and /opt/splunk/etc/apps/splunk_httpinput/local/inputs.conf is rewritten automatically to:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;[http]&lt;BR /&gt;disabled = 0&lt;BR /&gt;enableSSL = 1&lt;/P&gt;
&lt;P&gt;What do I need to do to make HEC use http, not https?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(We realize that https is more secure.&amp;nbsp; For our production splunk we'll use https, but for our team's development environments it just makes more sense to use http.&amp;nbsp; I've not discussed why, but I suspect https is proxied somehow)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 15:43:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596318#M11508</guid>
      <dc:creator>dstromberg</dc:creator>
      <dc:date>2022-05-04T15:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Turning _off_ https for HEC</title>
      <link>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596339#M11509</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;this sounds weird. I just test this with test instance and It works as expected.&lt;/P&gt;&lt;P&gt;What you will gotten with next command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk btool inputs list http --debug&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Are you sure that you haven't any additional security scripts/procedures which switch this setting on boot or some regular interval? How you have changed this setting (via GUI or editing file)?&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 06:41:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596339#M11509</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-05-04T06:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Turning _off_ https for HEC</title>
      <link>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596360#M11510</link>
      <description>&lt;P&gt;Are you sure your settings aren't being overwritten by centrally pushed config? If this is a HF or standalone indexer, check your deployment servet, if this is a clustered indexer, check the master node.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 10:50:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596360#M11510</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-04T10:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Turning _off_ https for HEC</title>
      <link>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596396#M11512</link>
      <description>&lt;P&gt;I'm not familiar with the terminology "heavy forwarder" and "standalone indexer", and found the latter difficult to google for a definition of.&lt;/P&gt;&lt;P&gt;But what I have is a single Splunk running inside a docker container started using docker-compose like so:&lt;/P&gt;&lt;P&gt;splunk:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;image: ${SPLUNK_IMAGE:-splunk/splunk:latest}&lt;BR /&gt;container_name: splunk&lt;BR /&gt;hostname: splunk&lt;BR /&gt;environment:&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;- SPLUNK_START_ARGS=--accept-license&lt;BR /&gt;- SPLUNK_HEC_TOKEN=really-long-token-thingie&lt;BR /&gt;# the password for the "admin" user&lt;BR /&gt;- SPLUNK_PASSWORD=splunk-password-goes-here&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;ports:&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;- 8000:8000&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;volumes:&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;- ./splunk-files/etc/splunk-launch.conf:/opt/splunk/etc/splunk-launch.conf&lt;BR /&gt;- ./splunk-files/etc-system-local/indexes.conf:/opt/splunk/etc/system/local/indexes.conf&lt;BR /&gt;- ./splunk-files/opt-splunk-etc-apps-splunk_httpinput-local/:/opt/splunk/etc/apps/splunk_httpinput/local/&lt;BR /&gt;- ./splunk-files/paths:/paths&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 15:42:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596396#M11512</guid>
      <dc:creator>dstromberg</dc:creator>
      <dc:date>2022-05-04T15:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Turning _off_ https for HEC</title>
      <link>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596398#M11513</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So a simple "docker stop &amp;lt;container&amp;gt;" followed by a simple "docker start &amp;lt;samecontainer&amp;gt;" does not show the problem.&lt;/P&gt;&lt;P&gt;It turns out there's something in a wrapper script someone else in my team wrote, that's doing this.&amp;nbsp; Or maybe docker-compose is.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 16:01:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596398#M11513</guid>
      <dc:creator>dstromberg</dc:creator>
      <dc:date>2022-05-04T16:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Turning _off_ https for HEC</title>
      <link>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596412#M11514</link>
      <description>&lt;P&gt;As you are using docker with some centralized configurations probably explain this. If I understood correctly this is happening when you are launching a new environment (or have refreshed configurations) e.g. from git? But when you have changed that setting on local docker instance and restart it, everything is working. I suppose that your configuration store has that https (for production) set on and it then updates your configuration before you are launching docker instance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I think that the easiest way to fix this is add a new developer release of those configurations and use those for dev docker environments.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 18:42:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596412#M11514</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-05-04T18:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Turning _off_ https for HEC</title>
      <link>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596974#M11537</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using a default.yml got me past this hurdle.&lt;/P&gt;&lt;P&gt;Thanks folks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 14:00:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Turning-off-https-for-HEC-What-do-I-need-to-do-to-make-HEC-use/m-p/596974#M11537</guid>
      <dc:creator>dstromberg</dc:creator>
      <dc:date>2022-05-09T14:00:17Z</dc:date>
    </item>
  </channel>
</rss>

