<?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: Help needed with HEC tokens in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Help-needed-with-HEC-tokens/m-p/575531#M101736</link>
    <description>&lt;P&gt;It depends on the source and the endpoint you're using.&lt;/P&gt;&lt;P&gt;If your source can only write raw events to the services/collector/raw, you have no additional metadata so you need three separate tokens - one for each sourcetype. However, if your source can write a proper json request to services/collector/event, you can provide sourcetype as a field in your request. Then the HEC-associated sourcetype works as a default assignment if one is not provided with the event. I don't remember if you don't have to provide allowed sourcetypes anyway.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Nov 2021 19:38:11 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2021-11-18T19:38:11Z</dc:date>
    <item>
      <title>Help needed with HEC tokens</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-needed-with-HEC-tokens/m-p/575510#M101727</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an index and 3 custom sourcetypes built in place, Suppose if the source wants to stream logs into Splunk, do i need to create 3 HEC tokens? I can see when i am trying to create HEC inputs, it is asking me to select sourcetype where i can only select one sourcetype.&lt;/P&gt;&lt;P&gt;Please help me with this situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 17:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-needed-with-HEC-tokens/m-p/575510#M101727</guid>
      <dc:creator>Roy_9</dc:creator>
      <dc:date>2021-11-18T17:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with HEC tokens</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-needed-with-HEC-tokens/m-p/575531#M101736</link>
      <description>&lt;P&gt;It depends on the source and the endpoint you're using.&lt;/P&gt;&lt;P&gt;If your source can only write raw events to the services/collector/raw, you have no additional metadata so you need three separate tokens - one for each sourcetype. However, if your source can write a proper json request to services/collector/event, you can provide sourcetype as a field in your request. Then the HEC-associated sourcetype works as a default assignment if one is not provided with the event. I don't remember if you don't have to provide allowed sourcetypes anyway.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 19:38:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-needed-with-HEC-tokens/m-p/575531#M101736</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-11-18T19:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with HEC tokens</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-needed-with-HEC-tokens/m-p/575536#M101738</link>
      <description>&lt;P&gt;Yes the source will send the events at&amp;nbsp;&lt;SPAN&gt;services/collector/event, Since i can only select one sourcetype, i decided to create 3 different tokens for 3 sourcetypes which are tied to same index.&lt;/SPAN&gt;I hope this will be easy to handle.&lt;/P&gt;&lt;P&gt;Thanks so much for your insight.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 20:02:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-needed-with-HEC-tokens/m-p/575536#M101738</guid>
      <dc:creator>Roy_9</dc:creator>
      <dc:date>2021-11-18T20:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with HEC tokens</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-needed-with-HEC-tokens/m-p/575678#M101767</link>
      <description>&lt;P&gt;Upon validating with Support, I got to know if we want to use the same token for 3 sourcetypes, i was asked to add the sourcetype info manually at the source itself while pushing the payload to Splunk.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 16:15:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-needed-with-HEC-tokens/m-p/575678#M101767</guid>
      <dc:creator>Roy_9</dc:creator>
      <dc:date>2021-11-19T16:15:50Z</dc:date>
    </item>
  </channel>
</rss>

