<?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 to display a single value trend from 2 different relative time? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-single-value-trend-from-2-different-relative/m-p/589011#M205129</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I would like to dis play a trend indicator between these 2 different relative time&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=toto sourcetype=tutu earliest=-8d@d+7h latest=-8d@d+19h OR  earliest=@d+7h latest=@d+19h 
| timechart count as "erreurs" span=1d&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 15 Mar 2022 05:42:45 GMT</pubDate>
    <dc:creator>jip31</dc:creator>
    <dc:date>2022-03-15T05:42:45Z</dc:date>
    <item>
      <title>How to display a single value trend from 2 different relative time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-single-value-trend-from-2-different-relative/m-p/589011#M205129</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I would like to dis play a trend indicator between these 2 different relative time&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=toto sourcetype=tutu earliest=-8d@d+7h latest=-8d@d+19h OR  earliest=@d+7h latest=@d+19h 
| timechart count as "erreurs" span=1d&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 05:42:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-single-value-trend-from-2-different-relative/m-p/589011#M205129</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-03-15T05:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a single value trend from 2 different relative time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-single-value-trend-from-2-different-relative/m-p/589016#M205130</link>
      <description>&lt;P&gt;They are the same time ranges..&lt;/P&gt;&lt;P&gt;The timewrap command may be what you are after, e.g.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| timechart count as "erreurs" span=1d
| timewrap 1d&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 05:24:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-single-value-trend-from-2-different-relative/m-p/589016#M205130</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-03-15T05:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a single value trend from 2 different relative time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-single-value-trend-from-2-different-relative/m-p/589020#M205133</link>
      <description>&lt;P&gt;If I do this I have a result for the current day and a value on the last 7 days so the trend works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=toto
| search cit &amp;gt; 10000
| timechart count span=7d&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but what I need is to use the relative time for the current day and the relative time not on the last 7 days but for the day corresponding at day - 7&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it possible to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;earliest=-8d@d+7h latest=-8d@d+19h OR  earliest=@d+7h latest=@d+19h &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 08:03:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-single-value-trend-from-2-different-relative/m-p/589020#M205133</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-03-15T08:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a single value trend from 2 different relative time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-single-value-trend-from-2-different-relative/m-p/589206#M205193</link>
      <description>&lt;P&gt;Doesn't the timewrap give you what you need?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_audit (earliest=-8d@d+7h latest=-8d@d+19h) OR  (earliest=-d@d+7h latest=-d@d+19h)
| timechart fixedrange=f span=1h count
| timewrap 1d
| fields _time 7days_before latest_day
| addtotals
| where Total&amp;gt;0
| fields - Total&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 16 Mar 2022 02:20:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-single-value-trend-from-2-different-relative/m-p/589206#M205193</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-03-16T02:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a single value trend from 2 different relative time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-single-value-trend-from-2-different-relative/m-p/589216#M205194</link>
      <description>&lt;P&gt;sorry it's not my need&lt;/P&gt;&lt;P&gt;with a table panel, I can see the result of the latest day and the result for 7 days before&lt;/P&gt;&lt;P&gt;But what I ned is ti display a single panel trend indicator and it doenst works with your example&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 06:14:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-single-value-trend-from-2-different-relative/m-p/589216#M205194</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-03-16T06:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a single value trend from 2 different relative time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-single-value-trend-from-2-different-relative/m-p/589449#M205252</link>
      <description>&lt;P&gt;Do you mean either of these?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bowesmana_0-1647497369664.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18555i13071416AEAC5561/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bowesmana_0-1647497369664.png" alt="bowesmana_0-1647497369664.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bowesmana_1-1647497546811.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18556i1CD60CF928D5EE9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bowesmana_1-1647497546811.png" alt="bowesmana_1-1647497546811.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your existing search will do the second one - just format the visualisation and show the trend as 7 days before&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bowesmana_2-1647497604761.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18557i4CA8C03C070B0288/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bowesmana_2-1647497604761.png" alt="bowesmana_2-1647497604761.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;or add the final line to the query&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| where count&amp;gt;0&lt;/LI-CODE&gt;&lt;P&gt;and leave the trend as default and you get the first view?&lt;/P&gt;&lt;P&gt;If this is not what you want, can you expand on exactly what you want to see&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 06:14:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-single-value-trend-from-2-different-relative/m-p/589449#M205252</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-03-17T06:14:35Z</dc:date>
    </item>
  </channel>
</rss>

