<?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 How to edit Splunk HEC token value? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-Splunk-HEC-token-value/m-p/617467#M106606</link>
    <description>&lt;P&gt;I want to configure two HEC tokens as the same because I want to load balance traffic between them. I followed the document - &lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/UseHECusingconffiles," target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/UseHECusingconffiles,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I edited the /opt/splunk/etc/apps/splunk_httpinput/local/inputs.conf:&lt;/P&gt;&lt;P&gt;1. Create new stanza&lt;/P&gt;&lt;P&gt;- The name of the stanza is the same as the HEC token name that I want to edit&lt;BR /&gt;[hec-test1]&lt;/P&gt;&lt;P&gt;2. Under the stanza, specify the new token value for overriding&lt;/P&gt;&lt;P&gt;token = xxxxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the edit, it does not work. The Splunk even return error:&lt;/P&gt;&lt;P&gt;Checking: /opt/splunk/etc/apps/splunk_httpinput/local/inputs.conf&lt;BR /&gt;Invalid key in stanza [hec-test1] in /opt/splunk/etc/apps/splunk_httpinput/local/inputs.conf, line 4: token (value: xxxxx).&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2022 03:13:08 GMT</pubDate>
    <dc:creator>kristen</dc:creator>
    <dc:date>2022-10-18T03:13:08Z</dc:date>
    <item>
      <title>How to edit Splunk HEC token value?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-Splunk-HEC-token-value/m-p/617467#M106606</link>
      <description>&lt;P&gt;I want to configure two HEC tokens as the same because I want to load balance traffic between them. I followed the document - &lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/UseHECusingconffiles," target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/UseHECusingconffiles,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I edited the /opt/splunk/etc/apps/splunk_httpinput/local/inputs.conf:&lt;/P&gt;&lt;P&gt;1. Create new stanza&lt;/P&gt;&lt;P&gt;- The name of the stanza is the same as the HEC token name that I want to edit&lt;BR /&gt;[hec-test1]&lt;/P&gt;&lt;P&gt;2. Under the stanza, specify the new token value for overriding&lt;/P&gt;&lt;P&gt;token = xxxxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the edit, it does not work. The Splunk even return error:&lt;/P&gt;&lt;P&gt;Checking: /opt/splunk/etc/apps/splunk_httpinput/local/inputs.conf&lt;BR /&gt;Invalid key in stanza [hec-test1] in /opt/splunk/etc/apps/splunk_httpinput/local/inputs.conf, line 4: token (value: xxxxx).&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 03:13:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-Splunk-HEC-token-value/m-p/617467#M106606</guid>
      <dc:creator>kristen</dc:creator>
      <dc:date>2022-10-18T03:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit Splunk HEC token value?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-Splunk-HEC-token-value/m-p/617480#M106610</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;when you have created it in first HEC node with GUI or REST api, then just copy paste that token part from original conf file to second node’s conf file. Then restart second splunkd.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 06:05:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-Splunk-HEC-token-value/m-p/617480#M106610</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-10-18T06:05:11Z</dc:date>
    </item>
  </channel>
</rss>

