<?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: It is possible to &amp;quot;tag&amp;quot; all data coming into a particular HEC token? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/687930#M56297</link>
    <description>&lt;P&gt;Have you tested if it works for both /raw and /event endpoints? Just asking because I haven't used it on HEC so I don't know &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2024 21:07:46 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2024-05-17T21:07:46Z</dc:date>
    <item>
      <title>It is possible to "tag" all data coming into a particular HEC token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403863#M26454</link>
      <description>&lt;P&gt;I have about 50 different tokens. I want data from one particular token to get some metadata added to it. Unfortunately, it doesn't appear that the &lt;CODE&gt;_meta&lt;/CODE&gt; directive works for http in inputs.conf. Is it possible to replicate this functionality some how? &lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 19:53:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403863#M26454</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2019-07-22T19:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: It is possible to "tag" all data coming into a particular HEC token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403864#M26455</link>
      <description>&lt;P&gt;Hi twinspop,&lt;/P&gt;

&lt;P&gt;you can always use the good &lt;EM&gt;old&lt;/EM&gt; props.conf / transforms.conf approach and add a meta field this way. Here is an example transforms.conf I use to add the hostname of the parsing HWF to events:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[add-relay-info-to-meta]
FORMAT = splunk_hwf::HostNameHere
REGEX = .
WRITE_META = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Yes, it is a static value but I assume you will not change your HEC input too often &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 20:16:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403864#M26455</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-07-22T20:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: It is possible to "tag" all data coming into a particular HEC token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403865#M26456</link>
      <description>&lt;P&gt;Yeah, a transform is where i was headed, but I don't see any foolproof way to identify only those those logs, and ALL those logs, that originate on 1 particular token. The token value and the input name are not things I can key off of in props as far as i know.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 20:23:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403865#M26456</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2019-07-22T20:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: It is possible to "tag" all data coming into a particular HEC token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403866#M26457</link>
      <description>&lt;P&gt;The inputs name will translate into a &lt;CODE&gt;source::http:InputNameHere&lt;/CODE&gt; which in turn should be useable in props.conf&lt;BR /&gt;
But I must admit, I have not yet tried it &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 20:49:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403866#M26457</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-07-22T20:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: It is possible to "tag" all data coming into a particular HEC token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403867#M26458</link>
      <description>&lt;P&gt;Perfect! I had no idea that was a thing. I feel like I gained a new superpower.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 21:04:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403867#M26458</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2019-07-22T21:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: It is possible to "tag" all data coming into a particular HEC token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403868#M26459</link>
      <description>&lt;P&gt;Glad I could help - Enjoy the new superpower &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 21:06:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403868#M26459</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-07-22T21:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: It is possible to "tag" all data coming into a particular HEC token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403869#M26460</link>
      <description>&lt;P&gt;Well shoot. If the sending application sets source, that overrides the default above, which means the transform doesn't fire. So still back to the old problem: How to guarantee a transform gets applied to every single event that came through a particular token's input def?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 21:08:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403869#M26460</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2019-07-22T21:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: It is possible to "tag" all data coming into a particular HEC token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403870#M26461</link>
      <description>&lt;P&gt;In this case, did someone say &lt;EM&gt;cough&lt;/EM&gt; cribl &lt;EM&gt;cough&lt;/EM&gt; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 21:17:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403870#M26461</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-07-22T21:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: It is possible to "tag" all data coming into a particular HEC token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403871#M26462</link>
      <description>&lt;P&gt;We're testing it, but not ready to roll into production. Yet. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Very promising!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 21:30:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/403871#M26462</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2019-07-22T21:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: It is possible to "tag" all data coming into a particular HEC token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/609644#M49995</link>
      <description>&lt;P&gt;&lt;U&gt;You can use method i have implemented with DS distributed bash script automation, which does following with every single HEC input on each server in hfw pool:&lt;BR /&gt;&lt;/U&gt;First, append existing http stanzas in inputs.conf with "fake" output group, like&lt;/P&gt;&lt;P&gt;[&lt;A href="http://hec_input_1" target="_blank"&gt;http://hec_input_1&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;outputgroup = out01&lt;/P&gt;&lt;P&gt;Define those fake outputs in outputs conf like this:&lt;/P&gt;&lt;P&gt;[tcpgroup:out01]&lt;/P&gt;&lt;P&gt;server=127.0.0.1:9001&lt;/P&gt;&lt;P&gt;Now we need to set some listener on internal loop input dedicated port that "tags" the data:&lt;/P&gt;&lt;P&gt;[splunktcp://9001]&lt;/P&gt;&lt;P&gt;_meta = HecName::192.168.0.1:hec_input_1&lt;/P&gt;&lt;P&gt;Repeat all this for for all your hec inputs, make each of it have it's own outputgroup and tcpsplunk port listener,&amp;nbsp;restart splunk and enjoy:&lt;/P&gt;&lt;P&gt;|tstats count where index=hec_index by HecName&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 13:55:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/609644#M49995</guid>
      <dc:creator>ameizeraitis</dc:creator>
      <dc:date>2022-08-16T13:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: It is possible to "tag" all data coming into a particular HEC token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/687891#M56296</link>
      <description>Update for old post as splunk has fixed this.&lt;BR /&gt;Currently (at lest 9.1.3+) you can use _meta also in HEC's inputs.conf.</description>
      <pubDate>Fri, 17 May 2024 14:48:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/687891#M56296</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-05-17T14:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: It is possible to "tag" all data coming into a particular HEC token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/687930#M56297</link>
      <description>&lt;P&gt;Have you tested if it works for both /raw and /event endpoints? Just asking because I haven't used it on HEC so I don't know &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 21:07:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/687930#M56297</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-05-17T21:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: It is possible to "tag" all data coming into a particular HEC token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/689187#M56452</link>
      <description>I test it at least for /raw endpoint.</description>
      <pubDate>Fri, 31 May 2024 10:47:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/689187#M56452</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-05-31T10:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: It is possible to "tag" all data coming into a particular HEC token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/703534#M57662</link>
      <description>&lt;P&gt;Now you can tag HEC events for any HEC end point ( including s2s) without paying for third party software.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/Splunk-HTTP-Event-Collector-support-for-custom-metadata-tags/m-p/703131/highlight/true#M116292" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Getting-Data-In/Splunk-HTTP-Event-Collector-support-for-custom-metadata-tags/m-p/703131/highlight/true#M116292&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 21:36:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/It-is-possible-to-quot-tag-quot-all-data-coming-into-a/m-p/703534#M57662</guid>
      <dc:creator>hrawat</dc:creator>
      <dc:date>2024-11-04T21:36:26Z</dc:date>
    </item>
  </channel>
</rss>

