<?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: Plot data for two different time ranges in the same visualization? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Plot-data-for-two-different-time-ranges-in-the-same/m-p/681267#M232805</link>
    <description>&lt;P&gt;You can also try to fiddle with the timewrap command (but that's just a general idea, I don't have any particular solution in mind at the mkment).&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2024 21:21:05 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2024-03-19T21:21:05Z</dc:date>
    <item>
      <title>Plot data for two different time ranges in the same visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-data-for-two-different-time-ranges-in-the-same/m-p/681255#M232800</link>
      <description>&lt;P&gt;Hi.&lt;BR /&gt;&lt;BR /&gt;I found old article on the subject and followed, but I do not see overlaying charts.&lt;BR /&gt;My SPL&lt;BR /&gt;-------------&lt;BR /&gt;index=firewall sourcetype="collector" fqdn="fw.myorg.com" earliest=-2d@d latest=-1d@d&lt;BR /&gt;| multikv&lt;BR /&gt;| eval ReportKey=today&lt;BR /&gt;| append [search index=firewall sourcetype="collector" fqdn="fw.myorg.com" earliest=-4d@d latest=-3d@d&lt;BR /&gt;| multikv&lt;BR /&gt;| eval ReportKey=yesterday&lt;BR /&gt;| eval _time = _time + 2*86400]&lt;BR /&gt;| timechart span=1H count by ReportKey&lt;/P&gt;&lt;P&gt;-------------&lt;BR /&gt;So I expect it would report by ReportKey instead it shows by NULL&lt;BR /&gt;---&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chart1.jpg" style="width: 162px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29811iA5D2A8BD9EC26914/image-size/large?v=v2&amp;amp;px=999" role="button" title="chart1.jpg" alt="chart1.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;-------------&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chart.jpg" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29810i29E382C53727A2CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="chart.jpg" alt="chart.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 20:24:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-data-for-two-different-time-ranges-in-the-same/m-p/681255#M232800</guid>
      <dc:creator>bigll</dc:creator>
      <dc:date>2024-03-19T20:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Plot data for two different time ranges in the same visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-data-for-two-different-time-ranges-in-the-same/m-p/681256#M232801</link>
      <description>&lt;P&gt;A simple mistake. You forgot quotes around values you want to assign to the ReportKey field so Splunk treats those values as field names. As you apparently have no such fields in yoir data you end up with empty (null) values.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 20:35:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-data-for-two-different-time-ranges-in-the-same/m-p/681256#M232801</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-03-19T20:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Plot data for two different time ranges in the same visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-data-for-two-different-time-ranges-in-the-same/m-p/681257#M232802</link>
      <description>&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 20:39:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-data-for-two-different-time-ranges-in-the-same/m-p/681257#M232802</guid>
      <dc:creator>bigll</dc:creator>
      <dc:date>2024-03-19T20:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Plot data for two different time ranges in the same visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-data-for-two-different-time-ranges-in-the-same/m-p/681261#M232803</link>
      <description>&lt;P&gt;I see report by&amp;nbsp;&lt;SPAN&gt;ReportKey now, but graph is leaner I wonder how I can get something like one in articale.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image1small[1].png" style="width: 600px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29812i13C40235CC0ADCF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image1small[1].png" alt="image1small[1].png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 20:48:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-data-for-two-different-time-ranges-in-the-same/m-p/681261#M232803</guid>
      <dc:creator>bigll</dc:creator>
      <dc:date>2024-03-19T20:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Plot data for two different time ranges in the same visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-data-for-two-different-time-ranges-in-the-same/m-p/681264#M232804</link>
      <description>&lt;P&gt;I think I got it.&lt;BR /&gt;Need properly configure "_time" depend on difference in days i.e. for week long difference&amp;nbsp;&lt;BR /&gt;eval _time = _time + 7*86400.&lt;BR /&gt;&lt;BR /&gt;If I am wrong, please advise.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 21:00:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-data-for-two-different-time-ranges-in-the-same/m-p/681264#M232804</guid>
      <dc:creator>bigll</dc:creator>
      <dc:date>2024-03-19T21:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Plot data for two different time ranges in the same visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-data-for-two-different-time-ranges-in-the-same/m-p/681267#M232805</link>
      <description>&lt;P&gt;You can also try to fiddle with the timewrap command (but that's just a general idea, I don't have any particular solution in mind at the mkment).&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 21:21:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-data-for-two-different-time-ranges-in-the-same/m-p/681267#M232805</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-03-19T21:21:05Z</dc:date>
    </item>
  </channel>
</rss>

