<?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: HEC not working properly with multiple indexes in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/HEC-not-working-properly-with-multiple-indexes/m-p/538216#M36812</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230948"&gt;@miena&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;In HEC configuration "index" parameter sets the default index for events that no index defined as metadata. Since you didn't set index parameter on your test command, the event should go to "index1".&lt;/P&gt;&lt;P&gt;"indexes" parameter sets the permitted indexes for this input. This does not mean it will be duplicated to all indexes.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2021 05:41:02 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2021-02-02T05:41:02Z</dc:date>
    <item>
      <title>HEC not working properly with multiple indexes</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/HEC-not-working-properly-with-multiple-indexes/m-p/537500#M36737</link>
      <description>&lt;P&gt;I have an HEC configured as follows:&lt;/P&gt;&lt;P&gt;[http://customer]&lt;BR /&gt;disabled = 0&lt;BR /&gt;index = index1&lt;BR /&gt;indexes = index1, index2, index3, index4&lt;BR /&gt;token = &amp;lt;token&amp;gt;&lt;BR /&gt;sourcetype = _json&lt;/P&gt;&lt;P&gt;however when I test the endpoint using the command: curl -k -L https://&amp;lt;mysplunkurl&amp;gt;/collector -H 'Authorization: Splunk &amp;lt;token&amp;gt;' -d '{"sourcetype": "local_cURL test", "event":"Test Event For New Index"}'...I get a successful 200 response, but the event doesn't appear under any of the configured indexes.&amp;nbsp; Is this the correct configuration to send events to multiple indexes?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 22:00:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/HEC-not-working-properly-with-multiple-indexes/m-p/537500#M36737</guid>
      <dc:creator>miena</dc:creator>
      <dc:date>2021-01-27T22:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: HEC not working properly with multiple indexes</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/HEC-not-working-properly-with-multiple-indexes/m-p/538216#M36812</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230948"&gt;@miena&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;In HEC configuration "index" parameter sets the default index for events that no index defined as metadata. Since you didn't set index parameter on your test command, the event should go to "index1".&lt;/P&gt;&lt;P&gt;"indexes" parameter sets the permitted indexes for this input. This does not mean it will be duplicated to all indexes.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 05:41:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/HEC-not-working-properly-with-multiple-indexes/m-p/538216#M36812</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-02-02T05:41:02Z</dc:date>
    </item>
  </channel>
</rss>

