<?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: What are the definitions of Tag and Eventtype and what are the differences between the two? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123106#M1244</link>
    <description>&lt;P&gt;Use &lt;CODE&gt;tags&lt;/CODE&gt; when you don't need wildcards.  Use &lt;CODE&gt;eventtypes&lt;/CODE&gt; when you do need wildcards&lt;CODE&gt;.  Always prefer&lt;/CODE&gt;tags`.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Mar 2020 15:47:36 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2020-03-20T15:47:36Z</dc:date>
    <item>
      <title>What are the definitions of Tag and Eventtype and what are the differences between the two?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123099#M1237</link>
      <description>&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;What is the definition of the [Tag] is?&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;What is the definition of the [Eventtype] is?&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;What is the point of difference between the [Tag] and [eventtype] is?&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 27 May 2015 02:36:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123099#M1237</guid>
      <dc:creator>kedjjang</dc:creator>
      <dc:date>2015-05-27T02:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: What are the definitions of Tag and Eventtype and what are the differences between the two?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123100#M1238</link>
      <description>&lt;P&gt;An &lt;CODE&gt;eventtype&lt;/CODE&gt; is a search that runs when you specify &lt;CODE&gt;eventtype=MyEventType&lt;/CODE&gt;; you can think of it like a "pipeless, parameterless &lt;CODE&gt;macro&lt;/CODE&gt;" or even like a &lt;CODE&gt;saved search&lt;/CODE&gt;. &lt;/P&gt;

&lt;P&gt;A &lt;CODE&gt;tag&lt;/CODE&gt; is a not-necessarily-unique "nametag" given to a specific, definitive (wildcardless) Key-value-pairing.  It is very much like an &lt;CODE&gt;eventtype&lt;/CODE&gt; but it has the following differences:&lt;/P&gt;

&lt;P&gt;An instance of an &lt;CODE&gt;eventtype&lt;/CODE&gt; name is defined by a single directive inside a single &lt;CODE&gt;eventtypes.conf&lt;/CODE&gt; file but an instance of a &lt;CODE&gt;tag&lt;/CODE&gt; name can be defined in an infinite number of separate &lt;CODE&gt;tags.conf&lt;/CODE&gt; files.&lt;/P&gt;

&lt;P&gt;An &lt;CODE&gt;eventtype&lt;/CODE&gt; definition can use wildcards and have any number of pre-pipe specifications (conjunctions) but a &lt;CODE&gt;tag&lt;/CODE&gt; definition always contains a single&lt;CODE&gt;key=value&lt;/CODE&gt; pairing.&lt;/P&gt;

&lt;P&gt;There is an extremely high degree of use-case overlap between the 2 constructs.  For example, if you would like to identify all lab servers you could create a single &lt;CODE&gt;eventtype&lt;/CODE&gt; like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[LAB_EVENTS]
search = host=LAB* OR host=xyz OR host=PDQ
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then you search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=LAB_EVENTS
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or you could use several &lt;CODE&gt;tags&lt;/CODE&gt; like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host=LAB1]
lab=enabled
[host=LAB2]
lab=enabled
[host=LAB3]
lab=enabled
[host=xyz]
lab=enabled
[host=PDQ]
lab=enabled
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then you search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;tag="lab"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 May 2015 03:16:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123100#M1238</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-27T03:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: What are the definitions of Tag and Eventtype and what are the differences between the two?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123101#M1239</link>
      <description>&lt;P&gt;Is there a big difference regarding the performance between eventypes and tags?&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2015 08:32:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123101#M1239</guid>
      <dc:creator>HeinzWaescher</dc:creator>
      <dc:date>2015-05-27T08:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: What are the definitions of Tag and Eventtype and what are the differences between the two?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123102#M1240</link>
      <description>&lt;P&gt;Check out the &lt;CODE&gt;Knowledge Object Explorer app&lt;/CODE&gt;. With a small number, there is no difference but the more apps and configurations you add, there can be HUGE performance differences between the two.&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/2871/"&gt;https://splunkbase.splunk.com/app/2871/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 15:03:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123102#M1240</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-02-27T15:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: What are the definitions of Tag and Eventtype and what are the differences between the two?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123103#M1241</link>
      <description>&lt;P&gt;Great explanation woodcock, could you give sample results based on those event types and tags?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 15:56:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123103#M1241</guid>
      <dc:creator>splunkreal</dc:creator>
      <dc:date>2018-02-12T15:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: What are the definitions of Tag and Eventtype and what are the differences between the two?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123104#M1242</link>
      <description>&lt;P&gt;@realsplunk, please keep in mind that &lt;CODE&gt;Event types&lt;/CODE&gt; are intended for data classification whereas &lt;CODE&gt;Tags&lt;/CODE&gt; are for data normalization - so, from design perspective, they are very different. &lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 16:05:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123104#M1242</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-02-12T16:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: What are the definitions of Tag and Eventtype and what are the differences between the two?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123105#M1243</link>
      <description>&lt;P&gt;can you tell me when i will use tags and when used eventtypes&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 13:51:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123105#M1243</guid>
      <dc:creator>arihant16cse</dc:creator>
      <dc:date>2019-03-07T13:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: What are the definitions of Tag and Eventtype and what are the differences between the two?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123106#M1244</link>
      <description>&lt;P&gt;Use &lt;CODE&gt;tags&lt;/CODE&gt; when you don't need wildcards.  Use &lt;CODE&gt;eventtypes&lt;/CODE&gt; when you do need wildcards&lt;CODE&gt;.  Always prefer&lt;/CODE&gt;tags`.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 15:47:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123106#M1244</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-03-20T15:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: What are the definitions of Tag and Eventtype and what are the differences between the two?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123107#M1245</link>
      <description>&lt;P&gt;Look at how the &lt;CODE&gt;Common Information Model&lt;/CODE&gt; app uses each:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/CIM/latest/User/Overview"&gt;https://docs.splunk.com/Documentation/CIM/latest/User/Overview&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 15:48:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123107#M1245</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-03-20T15:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: What are the definitions of Tag and Eventtype and what are the differences between the two?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123108#M1246</link>
      <description>&lt;P&gt;I disagree.  I use &lt;CODE&gt;tags&lt;/CODE&gt; for &lt;CODE&gt;classification&lt;/CODE&gt; all the time; for example a host can be either &lt;CODE&gt;production&lt;/CODE&gt; or &lt;CODE&gt;development&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 15:49:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/123108#M1246</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-03-20T15:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: What are the definitions of Tag and Eventtype and what are the differences between the two?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/529486#M4814</link>
      <description>&lt;P&gt;Nice examples, Woodcock!!!&amp;nbsp; Eventtype is quite easy to understand but tag with enabled/disabled &amp;lt;field&amp;gt;&amp;lt;value&amp;gt; is not always clear to a lot of people.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;On, the other hand, the whole eventtype can also be tagged in tags.conf like the following&lt;/P&gt;&lt;P&gt;[eventtype=LAB_EVENTS]&lt;BR /&gt;lab = enabled&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 03:00:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/What-are-the-definitions-of-Tag-and-Eventtype-and-what-are-the/m-p/529486#M4814</guid>
      <dc:creator>anwarmian</dc:creator>
      <dc:date>2020-11-16T03:00:34Z</dc:date>
    </item>
  </channel>
</rss>

