<?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: One Chart - one search and data plot over 2 separate  timeframes in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695110#M56922</link>
    <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;earliest="1/1/2024:00:00:00" 
| bin span=1h _time
| addinfo
| eval marker = if(_time &amp;lt; info_min_time + 60*24*3600, "January","Febuary")| eval _time = if(_time &amp;lt; info_min_time + 60*24*3600, _time + 60*24*3600, _time)
| timechart count max(data) by marker span=1h
| timewrap 1mon&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 02 Aug 2024 15:23:34 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-08-02T15:23:34Z</dc:date>
    <item>
      <title>One Chart - one search and data plot over 2 separate  timeframes</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695103#M56921</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm trying to plot some data, over one chart for 2 different months not consecutive. i.e January and August,&lt;BR /&gt;looking to the below post&lt;BR /&gt;&lt;A href="https://www.splunk.com/en_us/blog/tips-and-tricks/two-time-series-one-chart-and-one-search.html" target="_blank" rel="noopener"&gt;https://www.splunk.com/en_us/blog/tips-and-tricks/two-time-series-one-chart-and-one-search.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;trying to&amp;nbsp;calculate median and plot just those 2 months in a single month timeframe&lt;BR /&gt;the below would work for consecutive months but can not figure out how to eval my time for random months, if I add to my info_min_time then my marker is ploted over several months.&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;earliest="1/1/2024:00:00:00" 
| bin span=1h _time
| addinfo
| eval marker = if(_time &amp;lt; info_min_time + 60*24*3600, "January","Febuary")| eval _time = if(_time &amp;lt; info_min_time + 60*24*3600, _time + 60*24*3600, _time)
|  chart count max(data) by _time marker&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;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 14:22:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695103#M56921</guid>
      <dc:creator>Bart</dc:creator>
      <dc:date>2024-08-02T14:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: One Chart - one search and data plot over 2 separate  timeframes</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695110#M56922</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;earliest="1/1/2024:00:00:00" 
| bin span=1h _time
| addinfo
| eval marker = if(_time &amp;lt; info_min_time + 60*24*3600, "January","Febuary")| eval _time = if(_time &amp;lt; info_min_time + 60*24*3600, _time + 60*24*3600, _time)
| timechart count max(data) by marker span=1h
| timewrap 1mon&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 02 Aug 2024 15:23:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695110#M56922</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-02T15:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: One Chart - one search and data plot over 2 separate  timeframes</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695214#M56938</link>
      <description>&lt;P&gt;Hi, Not exactly what I'm after. Timewrap will cause to chart 3 values, my erliest month of interest, anything in between and my last month.&lt;BR /&gt;I've tried to plan with eval _time vales but with no avail, perhaps this needs other approach, I'm trying to chart only the months of my interest to obtain clean view and to simplify calculations on those 2 month values when required.&lt;BR /&gt;Per below example I want to look at May and July only, thanks&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 07:43:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695214#M56938</guid>
      <dc:creator>Bart</dc:creator>
      <dc:date>2024-08-05T07:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: One Chart - one search and data plot over 2 separate  timeframes</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695215#M56939</link>
      <description>&lt;P&gt;OK then you should be able to simply use a where command to keep just the events in the time ranges you want&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 08:09:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695215#M56939</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-05T08:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: One Chart - one search and data plot over 2 separate  timeframes</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695225#M56940</link>
      <description>&lt;P&gt;yea, I have managed to fix the overlay with the below&lt;BR /&gt;&lt;BR /&gt;| where _time&amp;gt;=relative_time(now(), "-1mon@mon@w")&lt;BR /&gt;&lt;BR /&gt;&amp;amp; to adjust&lt;BR /&gt;eval= if(_time &amp;lt; info_min_time + 30*24*3600, _time + 90*24*3600, _time)&lt;BR /&gt;&lt;BR /&gt;still need to fix the latter to reflect exact d@m&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 09:30:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695225#M56940</guid>
      <dc:creator>Bart</dc:creator>
      <dc:date>2024-08-05T09:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: One Chart - one search and data plot over 2 separate  timeframes</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695228#M56941</link>
      <description>&lt;P&gt;Please share your current search and explain your requirement with respect to d@m&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 09:43:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695228#M56941</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-05T09:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: One Chart - one search and data plot over 2 separate  timeframes</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695235#M56944</link>
      <description>&lt;P&gt;Here is my search:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
earliest="4/1/2024:00:00:00" latest="8/1/2024:00:00:00"
| bin span=1h _time
| addinfo
| eval marker = if(_time &amp;lt; (relative_time(info_min_time,"+1mon@mon@w")), "April","July")
| eval _time = if(_time &amp;lt; (relative_time(info_min_time,"+1mon@mon@w")),_time + 90*24*3600, _time)
| chart count max(data) by _time marker
| where _time&amp;gt;=relative_time(now(), "-1mon@mon@w")&lt;/LI-CODE&gt;&lt;P&gt;with the above my April chart is shifted over July but it does not starts from the first day of the month but last June.&amp;nbsp;&lt;BR /&gt;in my eval _time&amp;nbsp; shift: 3rd line from the bottom I would like to know how can I reflect exact month days instead doing "+90*23*3600", ( April,July = 31days, where June is 30), thanks&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 10:52:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695235#M56944</guid>
      <dc:creator>Bart</dc:creator>
      <dc:date>2024-08-05T10:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: One Chart - one search and data plot over 2 separate  timeframes</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695240#M56945</link>
      <description>&lt;P&gt;You are aligning your times to the beginning of the week that the month starts in and the beginning of the week is a Sunday, which in this case takes you back into the previous month. Given that months have different lengths, what exactly do you want your chart to show?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 11:33:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695240#M56945</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-08-05T11:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: One Chart - one search and data plot over 2 separate  timeframes</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695257#M56948</link>
      <description>&lt;P&gt;yeah that was it, my time setting not alighnt with my timezone, thanks&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 13:47:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/One-Chart-one-search-and-data-plot-over-2-separate-timeframes/m-p/695257#M56948</guid>
      <dc:creator>Bart</dc:creator>
      <dc:date>2024-08-05T13:47:46Z</dc:date>
    </item>
  </channel>
</rss>

