<?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: Create HEC token from Linux CLI in Security</title>
    <link>https://community.splunk.com/t5/Security/Create-HEC-token-from-Linux-CLI/m-p/700828#M18152</link>
    <description>&lt;P&gt;Please use this doc to create HEC via CLI:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/UseHECfromtheCLI" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/UseHECfromtheCLI&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Or you can directly create inputs.conf as mentioned here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf#HTTP_Event_Collector_.28HEC.29_-_Local_stanza_for_each_token" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf#HTTP_Event_Collector_.28HEC.29_-_Local_stanza_for_each_token&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please UpVote if helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2024 01:45:17 GMT</pubDate>
    <dc:creator>sainag_splunk</dc:creator>
    <dc:date>2024-10-03T01:45:17Z</dc:date>
    <item>
      <title>Create HEC token from Linux CLI</title>
      <link>https://community.splunk.com/t5/Security/Create-HEC-token-from-Linux-CLI/m-p/700827#M18151</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it possible to create HEC Token from the CLI&amp;nbsp; of Linux host? Any recommendations how to create HEC token from CLI would be greatly appreciated. Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 01:16:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Create-HEC-token-from-Linux-CLI/m-p/700827#M18151</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2024-10-03T01:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create HEC token from Linux CLI</title>
      <link>https://community.splunk.com/t5/Security/Create-HEC-token-from-Linux-CLI/m-p/700828#M18152</link>
      <description>&lt;P&gt;Please use this doc to create HEC via CLI:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/UseHECfromtheCLI" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/UseHECfromtheCLI&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Or you can directly create inputs.conf as mentioned here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf#HTTP_Event_Collector_.28HEC.29_-_Local_stanza_for_each_token" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf#HTTP_Event_Collector_.28HEC.29_-_Local_stanza_for_each_token&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please UpVote if helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 01:45:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Create-HEC-token-from-Linux-CLI/m-p/700828#M18152</guid>
      <dc:creator>sainag_splunk</dc:creator>
      <dc:date>2024-10-03T01:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create HEC token from Linux CLI</title>
      <link>https://community.splunk.com/t5/Security/Create-HEC-token-from-Linux-CLI/m-p/700831#M18153</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/187813"&gt;@sainag_splunk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Those docs are very resourceful, thank you so much.&lt;/P&gt;&lt;P&gt;However, I need to provide HEC token to the data source owner to send log from their server. How can I create that token directly by using inputs.conf file? Would it be possible for you to provide any example/sample inputs.conf file for it&lt;/P&gt;&lt;P&gt;My index =adt_audit and sourcetype=adt:audit&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 02:36:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Create-HEC-token-from-Linux-CLI/m-p/700831#M18153</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2024-10-03T02:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create HEC token from Linux CLI</title>
      <link>https://community.splunk.com/t5/Security/Create-HEC-token-from-Linux-CLI/m-p/700893#M18154</link>
      <description>&lt;P&gt;Below is how an inputs.conf would look like.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[http://adt]
disabled = false
sourcetype =adt:audit
token = 977xx0B5-E5xx-4xx1-A894-B5DA75XX3A31      
indexes =adt_audit
index =adt_audit&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;For creating a token you can use&amp;nbsp; token generator tools like this&lt;A href="https://www.uuidgenerator.net/" target="_blank"&gt;https://www.uuidgenerator.net/&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;-&amp;nbsp;&amp;nbsp;Each token has a unique value, which is a 128-bit number that is represented as a 32-character globally unique identifier (GUID). Agents and clients use a token to authenticate their connections to HEC.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Another way is can create something from web via data inputs &amp;gt;http&amp;gt; and it get saved on the etc/apps/splunk_http_input/local/inputs.conf to see what it looks like.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps, please upvote or solved if this solution is helpful.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 14:39:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Create-HEC-token-from-Linux-CLI/m-p/700893#M18154</guid>
      <dc:creator>sainag_splunk</dc:creator>
      <dc:date>2024-10-03T14:39:29Z</dc:date>
    </item>
  </channel>
</rss>

