<?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: How to deploy HEC and token to indexers in a cluster? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-deploy-HEC-and-token-to-indexers-in-a-cluster/m-p/449577#M29553</link>
    <description>&lt;P&gt;If you refer to &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Indexer/Updatepeerconfigurations"&gt;Update common peer configurations and apps&lt;/A&gt; you configure the HEC tokens inside the cluster master (or master node) and push the configuration out.&lt;/P&gt;

&lt;P&gt;The HEC token is local to each indexer, the indexer receiving the data via HEC will index it, there is no requirement for output groups on an indexer...(nor will it forward to another indexer).&lt;/P&gt;

&lt;P&gt;The load balancing of HEC traffic has to be done by something outside the Splunk indexers, for example the client or a load balancer before they get to the indexers on port 8088&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2019 22:27:15 GMT</pubDate>
    <dc:creator>gjanders</dc:creator>
    <dc:date>2019-03-19T22:27:15Z</dc:date>
    <item>
      <title>How to deploy HEC and token to indexers in a cluster?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-deploy-HEC-and-token-to-indexers-in-a-cluster/m-p/449576#M29552</link>
      <description>&lt;P&gt;I am trying to figure out how to configure my cluster master to generate a token and HEC configuration information/files to my index cluster. The documentation is not clear as to how this is done. I believe, in the global settings for the token, I can configure the  ouptpuGroup with the indexers in my cluster and thereby load-balancing across the bunch of them. Not sure about the configuration needed to do this.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 17:42:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-deploy-HEC-and-token-to-indexers-in-a-cluster/m-p/449576#M29552</guid>
      <dc:creator>rholm01</dc:creator>
      <dc:date>2019-03-19T17:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy HEC and token to indexers in a cluster?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-deploy-HEC-and-token-to-indexers-in-a-cluster/m-p/449577#M29553</link>
      <description>&lt;P&gt;If you refer to &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Indexer/Updatepeerconfigurations"&gt;Update common peer configurations and apps&lt;/A&gt; you configure the HEC tokens inside the cluster master (or master node) and push the configuration out.&lt;/P&gt;

&lt;P&gt;The HEC token is local to each indexer, the indexer receiving the data via HEC will index it, there is no requirement for output groups on an indexer...(nor will it forward to another indexer).&lt;/P&gt;

&lt;P&gt;The load balancing of HEC traffic has to be done by something outside the Splunk indexers, for example the client or a load balancer before they get to the indexers on port 8088&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 22:27:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-deploy-HEC-and-token-to-indexers-in-a-cluster/m-p/449577#M29553</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2019-03-19T22:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy HEC and token to indexers in a cluster?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-deploy-HEC-and-token-to-indexers-in-a-cluster/m-p/449578#M29554</link>
      <description>&lt;P&gt;We can create a separate token in master cluster. Copy the configurations  and push it to indexers. &lt;/P&gt;

&lt;P&gt;Sample configurations.&lt;/P&gt;

&lt;P&gt;In mastercluster /opt/splunk/etc/master-apps/http_event_config/local/inputs.conf&lt;/P&gt;

&lt;P&gt;[http]&lt;BR /&gt;
disabled=0&lt;/P&gt;

&lt;P&gt;[&lt;A href="http://temp" target="_blank"&gt;http://temp&lt;/A&gt;]&lt;BR /&gt;
disabled=0&lt;BR /&gt;
index = test&lt;BR /&gt;
source = syslog&lt;BR /&gt;
token = generated token from mastercluster&lt;/P&gt;

&lt;P&gt;Validate and push the config bundle to indexer and test with the below command.&lt;/P&gt;

&lt;P&gt;curl -k &lt;A href="https://indexerip:8088/services/collector/event" target="_blank"&gt;https://indexerip:8088/services/collector/event&lt;/A&gt; -H "Authorization: Splunk XXXXX-generatedtoken-XXXXXX" -d '{"event" : "helloworld"}'&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:37:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-deploy-HEC-and-token-to-indexers-in-a-cluster/m-p/449578#M29554</guid>
      <dc:creator>saravanan90</dc:creator>
      <dc:date>2020-09-30T04:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy HEC and token to indexers in a cluster?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-deploy-HEC-and-token-to-indexers-in-a-cluster/m-p/509504#M33948</link>
      <description>&lt;P&gt;While creating a new HEC token from the master cluster portal, the HEC token generated is located in master cluster VM in the following path= /opt/splunk/etc/apps/splunk_httpinput/local/inputs.conf.&lt;/P&gt;&lt;P&gt;How should we push the HEC token from master cluster to the indexer peer using Config bundle action? Should we manually copy the inputs.conf from /opt/splunk/etc/apps/splunk_httpinput/local to &lt;STRONG&gt;/opt/splunk/etc/master-apps/splunk_httpinput/local&lt;/STRONG&gt; and then Validate and push the config bundle to indexer?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 12:09:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-deploy-HEC-and-token-to-indexers-in-a-cluster/m-p/509504#M33948</guid>
      <dc:creator>dhawal_sanghvi</dc:creator>
      <dc:date>2020-07-16T12:09:26Z</dc:date>
    </item>
  </channel>
</rss>

