<?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: need to create over lapping dashboard in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-over-lapping-dashboard/m-p/630650#M219099</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253824"&gt;@ssharma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;let me better understand: what time period do you want to monitor?&lt;/P&gt;&lt;P&gt;I used the time frames of your search, if you want a different time frame put it in the search parameters.&lt;/P&gt;&lt;P&gt;If you want the todays values, you could use:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="test" cf_app_name="test-app*" ((earliest=@d latest=now) OR (earliest=-7d@d latest=-6d@d))
| eval hour=strftime(_time, "%H"), week=if(now()-_time&amp;gt;86400,"Previous week","This week")
| chart dc(message.req_id) OVER hour BY week&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2023 14:14:04 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2023-02-13T14:14:04Z</dc:date>
    <item>
      <title>How to create over lapping dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-over-lapping-dashboard/m-p/630626#M219092</link>
      <description>&lt;P&gt;I am new to slunk, I have to create one dashboard and compare current day with same day of last week based on request ids count.&lt;/P&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index="test" s_name="test-app*" earliest=-0d@d latest=now
| bucket span=1h _time
| stats dc(message.req_id) as tcount by _time
| eval ReportKey="today"
| append [search index="test" s_name="test-app*" earliest=-7d@d latest=-6d@d
        | bucket span=1h _time
        | stats dc(message.req_id) as week by _time
        | eval ReportKey="lweek"]
| timechart span=1h sum(week) as Lweek, sum(tcount) as Today by ReportKey&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I want to create over lapping dashboard, like&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ssharma_0-1676285931422.png" style="width: 581px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/23841i52FE520E8A8DA86A/image-dimensions/581x141?v=v2" width="581" height="141" role="button" title="ssharma_0-1676285931422.png" alt="ssharma_0-1676285931422.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 17:12:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-over-lapping-dashboard/m-p/630626#M219092</guid>
      <dc:creator>ssharma</dc:creator>
      <dc:date>2023-02-13T17:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: need to create over lapping dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-over-lapping-dashboard/m-p/630627#M219093</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253824"&gt;@ssharma&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="test" cf_app_name="test-app*" ((earliest=-0d@d latest=now) OR (earliest=-7d@d latest=-6d@d))
| eval hour=strftime(_time, "%H"), week=if(now()-_time&amp;gt;86400,"Previous week","This week")
| chart dc(message.req_id) OVER hour BY week&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 11:11:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-over-lapping-dashboard/m-p/630627#M219093</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-02-13T11:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: need to create over lapping dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-over-lapping-dashboard/m-p/630631#M219094</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Is that possible to&amp;nbsp; create chart based on _time ??&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 12:35:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-over-lapping-dashboard/m-p/630631#M219094</guid>
      <dc:creator>ssharma</dc:creator>
      <dc:date>2023-02-13T12:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: need to create over lapping dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-over-lapping-dashboard/m-p/630643#M219096</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253824"&gt;@ssharma&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;yes it's possible using timechart, but you want to overlap values of today's hours and one week ago, and this is one solution.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 13:48:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-over-lapping-dashboard/m-p/630643#M219096</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-02-13T13:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: need to create over lapping dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-over-lapping-dashboard/m-p/630647#M219097</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;According to yr solution still I can see till 23 hour of yesterday&amp;nbsp; in current week day but now its start new day,&lt;BR /&gt;can it possible to take current time to last 24 hours ??&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ssharma_0-1676296856453.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/23842i66B184FFCE60EEC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ssharma_0-1676296856453.png" alt="ssharma_0-1676296856453.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 14:16:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-over-lapping-dashboard/m-p/630647#M219097</guid>
      <dc:creator>ssharma</dc:creator>
      <dc:date>2023-02-13T14:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: need to create over lapping dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-over-lapping-dashboard/m-p/630650#M219099</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253824"&gt;@ssharma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;let me better understand: what time period do you want to monitor?&lt;/P&gt;&lt;P&gt;I used the time frames of your search, if you want a different time frame put it in the search parameters.&lt;/P&gt;&lt;P&gt;If you want the todays values, you could use:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="test" cf_app_name="test-app*" ((earliest=@d latest=now) OR (earliest=-7d@d latest=-6d@d))
| eval hour=strftime(_time, "%H"), week=if(now()-_time&amp;gt;86400,"Previous week","This week")
| chart dc(message.req_id) OVER hour BY week&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 14:14:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-over-lapping-dashboard/m-p/630650#M219099</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-02-13T14:14:04Z</dc:date>
    </item>
  </channel>
</rss>

