<?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: Posting data to HTTP Event Collector (HEC) without passing HEC Token in Authorization Header in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Posting-data-to-HTTP-Event-Collector-HEC-without-passing-HEC/m-p/504547#M85996</link>
    <description>&lt;P&gt;Query string authentication can be enabled on a per-token basis.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;On the Splunk server, edit the file at $SPLUNK_HOME/etc/apps/splunk_httpinput/local/inputs.conf . Tokens are listed by name in this file, in the form http://&amp;lt;token_name&amp;gt; .&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Within the stanza for each token that needs to enable query string authentication, add the following setting (or change the existing setting, if applicable):&amp;nbsp;&lt;/SPAN&gt;&lt;PRE&gt;allowQueryStringAuth = true&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Save and close the inputs.conf file and restart Splunk service to reload configuration.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;LI-CODE lang="markup"&gt;For Splunk Cloud, you must open a Splunk Support ticket to set allowQueryStringAuth to true. Support for a toggle in Splunk Web for this setting is planned for a future release.&lt;/LI-CODE&gt;&lt;P&gt;HEC token can then be specified as a query string in the URL in the format:&lt;/P&gt;&lt;PRE&gt;?token=&amp;lt;hec_token&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;For example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -k "https://my-splunk-hec.example.com:8088/services/collector/raw?token=91dfd4e5-da4f-4861-89dd-dcdec19067fb&amp;amp;channel=8cf7407d-fa98-4d97-9b7b-5f5902aa7744&amp;amp;sourcetype=mydata" -d '1, 2, 3... Hello, world!'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jun 2020 06:58:05 GMT</pubDate>
    <dc:creator>nmadhok</dc:creator>
    <dc:date>2020-06-16T06:58:05Z</dc:date>
    <item>
      <title>Posting data to HTTP Event Collector (HEC) without passing HEC Token in Authorization Header</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Posting-data-to-HTTP-Event-Collector-HEC-without-passing-HEC/m-p/504537#M85995</link>
      <description>&lt;P&gt;Wanting to forward all raw events from Client/Application to a specified HTTP Event Collector (HEC) endpoint/URL for on-prem/self-hosted Splunk environment but Client/Application only allows for a URL to be specified and does not allow specifying the HEC token in authorization header for HTTP Authentication or including it in basic authentication request.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can the raw events be ingested into on-prem/self hosted Splunk using HTTP Event Collector (HEC) input&amp;nbsp;without an Authorization header?&amp;nbsp;&lt;/SPAN&gt;Is it possible to specify the HEC token as a query string/parameter in the URL itself?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 06:19:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Posting-data-to-HTTP-Event-Collector-HEC-without-passing-HEC/m-p/504537#M85995</guid>
      <dc:creator>nmadhok</dc:creator>
      <dc:date>2020-06-16T06:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Posting data to HTTP Event Collector (HEC) without passing HEC Token in Authorization Header</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Posting-data-to-HTTP-Event-Collector-HEC-without-passing-HEC/m-p/504547#M85996</link>
      <description>&lt;P&gt;Query string authentication can be enabled on a per-token basis.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;On the Splunk server, edit the file at $SPLUNK_HOME/etc/apps/splunk_httpinput/local/inputs.conf . Tokens are listed by name in this file, in the form http://&amp;lt;token_name&amp;gt; .&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Within the stanza for each token that needs to enable query string authentication, add the following setting (or change the existing setting, if applicable):&amp;nbsp;&lt;/SPAN&gt;&lt;PRE&gt;allowQueryStringAuth = true&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Save and close the inputs.conf file and restart Splunk service to reload configuration.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;LI-CODE lang="markup"&gt;For Splunk Cloud, you must open a Splunk Support ticket to set allowQueryStringAuth to true. Support for a toggle in Splunk Web for this setting is planned for a future release.&lt;/LI-CODE&gt;&lt;P&gt;HEC token can then be specified as a query string in the URL in the format:&lt;/P&gt;&lt;PRE&gt;?token=&amp;lt;hec_token&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;For example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -k "https://my-splunk-hec.example.com:8088/services/collector/raw?token=91dfd4e5-da4f-4861-89dd-dcdec19067fb&amp;amp;channel=8cf7407d-fa98-4d97-9b7b-5f5902aa7744&amp;amp;sourcetype=mydata" -d '1, 2, 3... Hello, world!'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 06:58:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Posting-data-to-HTTP-Event-Collector-HEC-without-passing-HEC/m-p/504547#M85996</guid>
      <dc:creator>nmadhok</dc:creator>
      <dc:date>2020-06-16T06:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Posting data to HTTP Event Collector (HEC) without passing HEC Token in Authorization Header</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Posting-data-to-HTTP-Event-Collector-HEC-without-passing-HEC/m-p/506077#M86195</link>
      <description>&lt;P&gt;This is awesome. Thanks much for sharing it!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 00:39:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Posting-data-to-HTTP-Event-Collector-HEC-without-passing-HEC/m-p/506077#M86195</guid>
      <dc:creator>Matheus_Vieira</dc:creator>
      <dc:date>2020-06-25T00:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Posting data to HTTP Event Collector (HEC) without passing HEC Token in Authorization Header</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Posting-data-to-HTTP-Event-Collector-HEC-without-passing-HEC/m-p/710281#M117319</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kpatil_0-1738257740787.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/34306i38BD906C6528B232/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kpatil_0-1738257740787.png" alt="kpatil_0-1738257740787.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm doing POC using Splunk Trail and HEC to ingest audit log from Enterprise CMS [Sitecore], Sitecore doesn't support Authorization Header. So, I would like to enable query string authorization for my trail splunk cloud instance. But I'm unable to create ticket as one of the option is loading, tried call etc. But no luck. Can anyone help me getting connected to&amp;nbsp; splunk support?&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;For Splunk Cloud, you must open a Splunk Support ticket to set allowQueryStringAuth to true. Support for a toggle in Splunk Web for this setting is planned for a future release.&lt;/LI-CODE&gt;&lt;P&gt;As per above comment, this configuration is added in splunk web? I couldn't find it. But might be looking at wrong place. Thanks, appreciate your help!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 17:25:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Posting-data-to-HTTP-Event-Collector-HEC-without-passing-HEC/m-p/710281#M117319</guid>
      <dc:creator>kpatil</dc:creator>
      <dc:date>2025-01-30T17:25:13Z</dc:date>
    </item>
  </channel>
</rss>

