<?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 How do I create and display a trend of the 10 largest database tables returned in my search results? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-and-display-a-trend-of-the-10-largest-database/m-p/266146#M80031</link>
    <description>&lt;P&gt;I am setting up some trending.  We currently collect stats on the largest tables and load them into Splunk.  I am able to retrieve the 10 largest tables with the following search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; sort - data_object_p_size | head 10 |  eval TableName= tabschema."-". tabname | table TableName, data_object_p_size
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would like to use the results from the search to include the table size over the last 90 days so I can gather the trend. Basically, I would like something like:&lt;/P&gt;

&lt;P&gt;TableName, Current Size, Size 30 days ago, Size 60 days ago, Size 90 days ago, Monthly growth&lt;/P&gt;

&lt;P&gt;Could someone point me in the direction of where to get started?  Any help is greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Oct 2015 18:04:43 GMT</pubDate>
    <dc:creator>treadyho</dc:creator>
    <dc:date>2015-10-07T18:04:43Z</dc:date>
    <item>
      <title>How do I create and display a trend of the 10 largest database tables returned in my search results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-and-display-a-trend-of-the-10-largest-database/m-p/266146#M80031</link>
      <description>&lt;P&gt;I am setting up some trending.  We currently collect stats on the largest tables and load them into Splunk.  I am able to retrieve the 10 largest tables with the following search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; sort - data_object_p_size | head 10 |  eval TableName= tabschema."-". tabname | table TableName, data_object_p_size
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would like to use the results from the search to include the table size over the last 90 days so I can gather the trend. Basically, I would like something like:&lt;/P&gt;

&lt;P&gt;TableName, Current Size, Size 30 days ago, Size 60 days ago, Size 90 days ago, Monthly growth&lt;/P&gt;

&lt;P&gt;Could someone point me in the direction of where to get started?  Any help is greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 18:04:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-and-display-a-trend-of-the-10-largest-database/m-p/266146#M80031</guid>
      <dc:creator>treadyho</dc:creator>
      <dc:date>2015-10-07T18:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create and display a trend of the 10 largest database tables returned in my search results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-and-display-a-trend-of-the-10-largest-database/m-p/266147#M80032</link>
      <description>&lt;P&gt;There are multiple approaches you could take, but for a general discussion on how to combine search results from two (or more) time periods in one report, I would start &lt;A href="http://blogs.splunk.com/2012/02/19/compare-two-time-ranges-in-one-report/"&gt;here&lt;/A&gt;. You can extend this to support multiple time periods.&lt;/P&gt;

&lt;P&gt;If your data is such that you have one event per day, you can probably just use appendcols to retrieve your top10 values for 30,60,90 days. &lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 18:28:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-and-display-a-trend-of-the-10-largest-database/m-p/266147#M80032</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2015-10-07T18:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create and display a trend of the 10 largest database tables returned in my search results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-and-display-a-trend-of-the-10-largest-database/m-p/266148#M80033</link>
      <description>&lt;P&gt;Ended up doing join, thanks for the help&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 13:16:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-create-and-display-a-trend-of-the-10-largest-database/m-p/266148#M80033</guid>
      <dc:creator>treadyho</dc:creator>
      <dc:date>2015-10-09T13:16:16Z</dc:date>
    </item>
  </channel>
</rss>

