<?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 Add a row to end of table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Add-a-row-to-end-of-table/m-p/79349#M20080</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am running a scheduled search to output some logs to a file. Now I would like to add an extra line to the end of each file, so that it acts as a footer for the file. I.e. I want to add the words " END OF FILE" to the end of each file.&lt;/P&gt;

&lt;P&gt;Which is the best way to do this?&lt;/P&gt;

&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2012 14:00:39 GMT</pubDate>
    <dc:creator>simonattardGO</dc:creator>
    <dc:date>2012-02-27T14:00:39Z</dc:date>
    <item>
      <title>Add a row to end of table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-a-row-to-end-of-table/m-p/79349#M20080</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am running a scheduled search to output some logs to a file. Now I would like to add an extra line to the end of each file, so that it acts as a footer for the file. I.e. I want to add the words " END OF FILE" to the end of each file.&lt;/P&gt;

&lt;P&gt;Which is the best way to do this?&lt;/P&gt;

&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2012 14:00:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-a-row-to-end-of-table/m-p/79349#M20080</guid>
      <dc:creator>simonattardGO</dc:creator>
      <dc:date>2012-02-27T14:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Add a row to end of table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-a-row-to-end-of-table/m-p/79350#M20081</link>
      <description>&lt;P&gt;Assuming your search looks like this:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;my search here&amp;gt; | stats count by param1, param2, param3&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;Here is a quick way to do it:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;my search here&amp;gt; | stats count by param1, param2, param3 | append [|stats count |eval count="END OF FILE"]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;gt; please upvote and accept answer if you find it useful - thanks!&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2012 14:39:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-a-row-to-end-of-table/m-p/79350#M20081</guid>
      <dc:creator>_d_</dc:creator>
      <dc:date>2012-02-27T14:39:14Z</dc:date>
    </item>
  </channel>
</rss>

