<?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 define a macro with source filename in argument in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-to-define-a-macro-with-source-filename-in-argument/m-p/41566#M368</link>
    <description>&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/Search/Usesearchmacros"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/Search/Usesearchmacros&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 24 Feb 2013 20:38:31 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2013-02-24T20:38:31Z</dc:date>
    <item>
      <title>How to define a macro with source filename in argument</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-define-a-macro-with-source-filename-in-argument/m-p/41565#M367</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thanks to tell me how to replace following search:&lt;BR /&gt;&lt;BR /&gt;
  &lt;CODE&gt;index=myIndex source="E:\\myApp\\Logs\\myFile.csv"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;by a macro called by:&lt;BR /&gt;&lt;BR /&gt;
  &lt;CODE&gt;Get_source("E:\\myApp\\Logs\\myFile.csv")&lt;/CODE&gt;    &lt;/P&gt;

&lt;P&gt;Or even better by a macro called by:&lt;BR /&gt;&lt;BR /&gt;
  &lt;CODE&gt;Get_source("myFile.csv")&lt;/CODE&gt;  &lt;/P&gt;

&lt;P&gt;Emmanuel.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Feb 2013 19:39:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-define-a-macro-with-source-filename-in-argument/m-p/41565#M367</guid>
      <dc:creator>emcathalo</dc:creator>
      <dc:date>2013-02-24T19:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to define a macro with source filename in argument</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-define-a-macro-with-source-filename-in-argument/m-p/41566#M368</link>
      <description>&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/Search/Usesearchmacros"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/Search/Usesearchmacros&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Feb 2013 20:38:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-define-a-macro-with-source-filename-in-argument/m-p/41566#M368</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-02-24T20:38:31Z</dc:date>
    </item>
  </channel>
</rss>

