<?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: How to create a search template (macro) using Splunk? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-to-create-a-search-template-macro-using-Splunk/m-p/411282#M3620</link>
    <description>&lt;P&gt;What you describe sounds like a macro. &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.2/Knowledge/Usesearchmacros"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.2/Knowledge/Usesearchmacros&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Aug 2018 12:14:40 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2018-08-17T12:14:40Z</dc:date>
    <item>
      <title>How to create a search template (macro) using Splunk?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-create-a-search-template-macro-using-Splunk/m-p/411279#M3617</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I need to create a search template using Splunk so I want to know what are the steps that I have to follow? must I create an app? are there any easy ways without using XML?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 09:12:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-create-a-search-template-macro-using-Splunk/m-p/411279#M3617</guid>
      <dc:creator>neermine</dc:creator>
      <dc:date>2018-08-17T09:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search template (macro) using Splunk?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-create-a-search-template-macro-using-Splunk/m-p/411280#M3618</link>
      <description>&lt;P&gt;What do you mean by a "search template"?  What do you plan to do with it?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 11:11:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-create-a-search-template-macro-using-Splunk/m-p/411280#M3618</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-08-17T11:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search template (macro) using Splunk?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-create-a-search-template-macro-using-Splunk/m-p/411281#M3619</link>
      <description>&lt;P&gt;it's simple i have this command "..|table date time app ipsrc ipdst..... " i want to create a temple that make me use it without writing it over and over again  with every file that i open with splunk &lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 11:31:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-create-a-search-template-macro-using-Splunk/m-p/411281#M3619</guid>
      <dc:creator>neermine</dc:creator>
      <dc:date>2018-08-17T11:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search template (macro) using Splunk?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-create-a-search-template-macro-using-Splunk/m-p/411282#M3620</link>
      <description>&lt;P&gt;What you describe sounds like a macro. &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.2/Knowledge/Usesearchmacros"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.2/Knowledge/Usesearchmacros&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 12:14:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-create-a-search-template-macro-using-Splunk/m-p/411282#M3620</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2018-08-17T12:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search template (macro) using Splunk?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-create-a-search-template-macro-using-Splunk/m-p/411283#M3621</link>
      <description>&lt;P&gt;That would be a macro.  Search macros are parameterized chunks of a search that you can reuse in saved and ad-hoc searches. Search macros can be any part of a search, such as an eval statement or search term, and do not need to be a complete command. You can also specify whether or not the macro field takes any arguments.&lt;/P&gt;

&lt;P&gt;Go to Settings-&amp;gt;Advanced Search-&amp;gt;Search macros-&amp;gt;New to create a macro.&lt;BR /&gt;
Invoke the macro in your search by enclosing the name in backticks.&lt;/P&gt;

&lt;P&gt;See &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Search/Usesearchmacros?r=searchtip"&gt;Create and use search macros&lt;/A&gt; - from the Splunk documentation&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 12:19:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-create-a-search-template-macro-using-Splunk/m-p/411283#M3621</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-08-17T12:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a search template (macro) using Splunk?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-create-a-search-template-macro-using-Splunk/m-p/411284#M3622</link>
      <description>&lt;P&gt;thank you &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 13:08:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-create-a-search-template-macro-using-Splunk/m-p/411284#M3622</guid>
      <dc:creator>neermine</dc:creator>
      <dc:date>2018-08-17T13:08:49Z</dc:date>
    </item>
  </channel>
</rss>

