<?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: Difference between and macro in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-eventtype-and-macro/m-p/618441#M214945</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/102660"&gt;@jip31&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;an eventtype is a search used to tag some events, in an eventtype you can put only the main search, in other words, you canot have pipes.&lt;/P&gt;&lt;P&gt;A macro is a part of code in which you can put many code statements (also with many pipes) with diferent following commands.&lt;/P&gt;&lt;P&gt;If you need only of a search e.g. with index and sourcetype), you can use both eventtype or macro, the main difference is that using a macro, you cannot associate a tag to your eventtype.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Oct 2022 16:56:35 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-10-26T16:56:35Z</dc:date>
    <item>
      <title>What is the difference between eventtype and macro?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-eventtype-and-macro/m-p/618436#M214940</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Even if i have read some documentations, i have difficulty to understand the difference between macro and eventtype&lt;/P&gt;
&lt;P&gt;I use macro essentially for index + sourcetype agregation but is somebody can clearly explaining me the difference between macro and eventtype?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 18:14:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-eventtype-and-macro/m-p/618436#M214940</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-10-26T18:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between and macro</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-eventtype-and-macro/m-p/618439#M214943</link>
      <description>&lt;P&gt;Macros are just text replacement and can be anything not just indexes/source types&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 16:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-eventtype-and-macro/m-p/618439#M214943</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-10-26T16:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between and macro</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-eventtype-and-macro/m-p/618441#M214945</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/102660"&gt;@jip31&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;an eventtype is a search used to tag some events, in an eventtype you can put only the main search, in other words, you canot have pipes.&lt;/P&gt;&lt;P&gt;A macro is a part of code in which you can put many code statements (also with many pipes) with diferent following commands.&lt;/P&gt;&lt;P&gt;If you need only of a search e.g. with index and sourcetype), you can use both eventtype or macro, the main difference is that using a macro, you cannot associate a tag to your eventtype.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 16:56:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-eventtype-and-macro/m-p/618441#M214945</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-26T16:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between and macro</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-eventtype-and-macro/m-p/618442#M214946</link>
      <description>&lt;P&gt;Yes i know&lt;/P&gt;&lt;P&gt;I just said that actually i use macro for grouping index + sourcetype but i know i can use other fields&lt;/P&gt;&lt;P&gt;But i come back to my question&lt;/P&gt;&lt;P&gt;What is the difference with eventtype ?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 16:57:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-eventtype-and-macro/m-p/618442#M214946</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-10-26T16:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between and macro</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-eventtype-and-macro/m-p/618452#M214950</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks its clear now&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 17:36:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-eventtype-and-macro/m-p/618452#M214950</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-10-26T17:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between and macro</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-eventtype-and-macro/m-p/618529#M214986</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/102660"&gt;@jip31&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 06:48:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-eventtype-and-macro/m-p/618529#M214986</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-27T06:48:35Z</dc:date>
    </item>
  </channel>
</rss>

