<?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: How to write subquery to run the sub query for timings different from dashboard timings in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552037#M156662</link>
    <description>&lt;P&gt;HI, Thanks for your response. In the query you posted, i could see that "earliest=-24h" time is fixed. I have a dashboard in that dashboard i have many panels. All the panels in the dashbord will get time details globally what is mentioned in the top of the dashboard. In the same way this query also i wanted to work on dashboard timings. For example if i run dashboard for last 15min, i should get latest data for 15 min and that latest data should overlap with last 30min to 15min.&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 12:21:06 GMT</pubDate>
    <dc:creator>SG</dc:creator>
    <dc:date>2021-05-18T12:21:06Z</dc:date>
    <item>
      <title>How to write subquery to run the sub query for timings different from dashboard timings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552030#M156659</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;We need help in drawing the trend for multiple timings in the splunk.&lt;/DIV&gt;&lt;DIV&gt;Below is my query -&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;index=nextgen sourcetype=lighthouse_json datasource=webpagetest step="Homepage"&lt;/DIV&gt;&lt;DIV&gt;| timechart span=1h list(speedindex) as "speedindex_latest"&lt;/DIV&gt;&lt;DIV&gt;| fieldformat _time=strftime(_time,"%D:%I:%M %p")&lt;/DIV&gt;&lt;DIV&gt;| table _time speedindex_latest&lt;/DIV&gt;&lt;DIV&gt;| appendcols&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; [search index=nextgen sourcetype=lighthouse_json datasource=webpagetest step="Homepage"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;| timechart span=1h list(speedindex) as "speedindex_notlatest"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;| fieldformat _time=strftime(_time,"%D:%I:%M %p")&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;| table _time speedindex_notlatest]&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In the dashboard if i give timing as 24hrs speedindex_latest should give me the data for last 24hrs, i am able to see that data now. And speedindex_notlatest column should give me the data for previous 24hrs data.&lt;/DIV&gt;&lt;DIV&gt;For example -&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;speedindex_latest - Last 24Hrs data&lt;/DIV&gt;&lt;DIV&gt;speedindex_notlatest -&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;24*2 = 48hrs&lt;/DIV&gt;&lt;DIV&gt;from 48hrs i need to subtract dashboard timing data and give me the data for 24hrs to 48hrs data.&lt;/DIV&gt;&lt;DIV&gt;In this way i will be able to overlap the details and check how the performance is.&lt;/DIV&gt;&lt;DIV&gt;Can someone please help me how i can resolve this?&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 May 2021 12:06:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552030#M156659</guid>
      <dc:creator>SG</dc:creator>
      <dc:date>2021-05-18T12:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to write subquery to run the sub query for timings different from dashboard timings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552036#M156661</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234265"&gt;@SG&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;try a different approach classifying events using eval, something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=nextgen sourcetype=lighthouse_json datasource=webpagetest step="Homepage" earliest=-24h
| eval my_span=if(_time&amp;gt;now()-86400,"speedindex_latest","speedindex_notlatest")
| timechart span=1h values(speedindex) AS speedindex BY my_span&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 12:15:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552036#M156661</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-18T12:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to write subquery to run the sub query for timings different from dashboard timings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552037#M156662</link>
      <description>&lt;P&gt;HI, Thanks for your response. In the query you posted, i could see that "earliest=-24h" time is fixed. I have a dashboard in that dashboard i have many panels. All the panels in the dashbord will get time details globally what is mentioned in the top of the dashboard. In the same way this query also i wanted to work on dashboard timings. For example if i run dashboard for last 15min, i should get latest data for 15 min and that latest data should overlap with last 30min to 15min.&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 12:21:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552037#M156662</guid>
      <dc:creator>SG</dc:creator>
      <dc:date>2021-05-18T12:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to write subquery to run the sub query for timings different from dashboard timings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552040#M156665</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234265"&gt;@SG&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;in this case, explore the timewrap command that should solve your need&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Timewrap" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Timewrap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 12:31:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552040#M156665</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-18T12:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to write subquery to run the sub query for timings different from dashboard timings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552374#M156780</link>
      <description>&lt;P&gt;I edited my query to get the dashboard timings and eval the previous hrs timings and run the subsearch as per the evaluated timings. Below is the query, but i am getting error while running the query and it is not giving any results&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=nextgen sourcetype=lighthouse_json datasource=webpagetest step="Homepage" | eval DiffTime=latest-earliest | eval BeginTime=earliest-DiffTime-604800 | eval CompleteTime=latest-604800
| timechart span=1h list(speedindex) as "speedindex_latest"
| fieldformat _time=strftime(_time,"%I:%M %p")
| table _time speedindex_latest
| appendcols
[search index=nextgen sourcetype=lighthouse_json datasource=webpagetest step="Homepage" earliest=-$BeginTime$ latest=-$CompleteTime$
| timechart span=1h list(speedindex) as "speedindex_previous"
| fieldformat _time=strftime(_time,"%I:%M %p")
| table _time speedindex_previous]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Error details -&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Invalid value "-$BeginTime$" for time term 'earliest'
The search job has failed due to an error. You may be able view the job in the Job Inspector.&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 20 May 2021 11:30:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552374#M156780</guid>
      <dc:creator>SG</dc:creator>
      <dc:date>2021-05-20T11:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to write subquery to run the sub query for timings different from dashboard timings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552409#M156794</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234265"&gt;@SG&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;earliest and latest probably are in format "-24h" and to run a a difference in eval command you need two epochtimes.&lt;/P&gt;&lt;P&gt;Try to add addinfo:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=nextgen sourcetype=lighthouse_json datasource=webpagetest step="Homepage" 
| addinfo
| eval DiffTime=info_max_time-info_min_time 
| eval BeginTime=info_min_time-DiffTime-604800 
| eval CompleteTime=info_max_time-604800
| timechart span=1h list(speedindex) as "speedindex_latest"
| fieldformat _time=strftime(_time,"%I:%M %p")
| table _time speedindex_latest
| appendcols
[search index=nextgen sourcetype=lighthouse_json datasource=webpagetest step="Homepage" earliest=-$BeginTime$ latest=-$CompleteTime$
| timechart span=1h list(speedindex) as "speedindex_previous"
| fieldformat _time=strftime(_time,"%I:%M %p")
| table _time speedindex_previous]&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 15:01:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552409#M156794</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-20T15:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to write subquery to run the sub query for timings different from dashboard timings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552468#M156815</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;/P&gt;&lt;P&gt;I validated the query provided by you by adding "addinfo", still, I am getting the same error. Attached the error screenshot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SG_0-1621558409402.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14245iAC9AA101D15849C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SG_0-1621558409402.png" alt="SG_0-1621558409402.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 00:53:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552468#M156815</guid>
      <dc:creator>SG</dc:creator>
      <dc:date>2021-05-21T00:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to write subquery to run the sub query for timings different from dashboard timings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552496#M156825</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234265"&gt;@SG&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you cannot pass a token from he main search to the subsearch, you have to find a different approach: did you explored the timewrap command, as I hinted?&lt;/P&gt;&lt;P&gt;probably you can have the same result, something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;your_search
| timechart span=1h list(speedindex) AS speedindex
| timewrap 24h&lt;/LI-CODE&gt;&lt;P&gt;anyway, if you want to continue with your approach, you can use your main search as subsearch (subsearches can pass tokens to main searches) or try something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;your_search
| timechart span=1h list(speedindex) AS speedindex_latest
| appendcols [ search
     your_search [ 
          | makeresults 
          | addinfo 
          | eval DiffTime=info_max_time-info_min_time 
          | eval earliest=info_min_time-DiffTime-604800 
          | eval latest=info_max_time-604800 
          | fields earliest latest 
          ]
     | timechart span=1h list(speedindex) AS speedindex_previous
     ]&lt;/LI-CODE&gt;&lt;P&gt;I don't like your approach because if your have more than 50,000 results in subsearch you could have errors and it's slower.&lt;/P&gt;&lt;P&gt;Then beware to use the "list" option: if you have many results, your dashbo0ard could be unreadable!&lt;/P&gt;&lt;P&gt;Maybe "values" could be better.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 06:04:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552496#M156825</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-21T06:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to write subquery to run the sub query for timings different from dashboard timings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552552#M156847</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for your continuous suggestions and help in resolving my Splunk querying issues.&lt;/P&gt;&lt;P&gt;I cannot use "timewrap" option in my query as I don't want to wrap the results either with hrs/days/weeks/Months.&lt;/P&gt;&lt;P&gt;Based on the timings given by uses in the dashboard i wanted to give a comparison. For example, if user selects the last 4hrs I wanted to show data for the last 4hrs in "speedindex_latest" series and the last 8hrs to 4hrs data as "speedindex_previos" series.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The below query is giving me the expected data.&lt;/P&gt;&lt;P&gt;I understood that by using "makeresults" we are creating dummy timings like "difftime", "earliest", "latest" in the query. and by adding "addinfo " we are getting "info_max_time" and "info_min_time".&lt;/P&gt;&lt;P&gt;One thing I didn't understand is by giving "fields earliest latest " how come the derived timings are passed to the subquery? Can you please explain to me that?&lt;/P&gt;&lt;P&gt;Also, when i use this query for last 4hrs/24hrs it is giving me proper data. But when i run for last 15min it is not calculating the 30 to 15min timing and giving me the data, "speedindex_previous" column itself not coming in the results. Can i know the reason please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=nextgen sourcetype=lighthouse_json datasource=webpagetest step="Homepage"
| timechart span=1h list(speedindex) AS speedindex_latest
| appendcols [ search
     index=nextgen sourcetype=lighthouse_json datasource=webpagetest step="Homepage" [ 
          | makeresults 
          | addinfo 
          | eval DiffTime=info_max_time-info_min_time 
          | eval earliest=info_min_time-DiffTime
          | eval latest=info_min_time 
          | fields earliest latest 
          ]
     | timechart span=1h list(speedindex) AS speedindex_previous
     ]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I don't require week wise comparison I removed below from the query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;604800&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 11:43:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552552#M156847</guid>
      <dc:creator>SG</dc:creator>
      <dc:date>2021-05-21T11:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to write subquery to run the sub query for timings different from dashboard timings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552553#M156848</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234265"&gt;@SG&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;to define the time limits of a search you can use the Time Picker (if you don't use any value) or you can declare a value for these tokens,&lt;/P&gt;&lt;P&gt;But&amp;nbsp;the problem is that you cannot make an elaboration to modyfy the values in the main search that you have from the Time Picker.&lt;/P&gt;&lt;P&gt;A simple way to do this is the one I used:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I create a record with makesults,&lt;/LI&gt;&lt;LI&gt;I elaborate the values as your search,&lt;/LI&gt;&lt;LI&gt;and I pass the earliest and latest tokens to the other search.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 11:55:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552553#M156848</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-21T11:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to write subquery to run the sub query for timings different from dashboard timings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552687#M156889</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;, I am able to get the data for below query for last 60min and last 4hrs. When i select last 24hrs I am getting only "speedindex_latest" but not "speedindex_previous" series values.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=nextgen sourcetype=lighthouse_json datasource=webpagetest step="Homepage"
| timechart span=1h list(speedindex) AS speedindex_latest
| appendcols [ search
     index=nextgen sourcetype=lighthouse_json datasource=webpagetest step="Homepage" [ 
          | makeresults 
          | addinfo 
          | eval DiffTime=info_max_time-info_min_time 
          | eval earliest=info_min_time-DiffTime
          | eval latest=info_min_time 
          | fields earliest latest 
          ]
     | timechart span=1h list(speedindex) AS speedindex_previous

     ]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Below is the screenshot for the same, can you please let me know what is the problem with the last 24hrs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SG_0-1621835844339.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14278i26097703FCFD9DC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SG_0-1621835844339.png" alt="SG_0-1621835844339.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 05:58:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552687#M156889</guid>
      <dc:creator>SG</dc:creator>
      <dc:date>2021-05-24T05:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to write subquery to run the sub query for timings different from dashboard timings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552698#M156892</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234265"&gt;@SG&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;in this way, you take the events only in the last 24 hours so the solution with makersults is ineffient, you have to modify time modifiers in the subsearch to take the previous 24 hours (e.g. subtracting 86400 seconds to earliest and latest), something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=nextgen sourcetype=lighthouse_json datasource=webpagetest step="Homepage"
| timechart span=1h list(speedindex) AS speedindex_latest
| appendcols [ search
     index=nextgen sourcetype=lighthouse_json datasource=webpagetest step="Homepage" [ 
          | makeresults 
          | addinfo 
          | eval DiffTime=info_max_time-info_min_time 
          | eval earliest=info_min_time-DiffTime-86400
          | eval latest=info_min_time-86400
          | fields earliest latest 
          ]
     | timechart span=1h list(speedindex) AS speedindex_previous
     ]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 07:07:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552698#M156892</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-24T07:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to write subquery to run the sub query for timings different from dashboard timings</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552725#M156896</link>
      <description>&lt;P&gt;Yes, this helps. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 08:39:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-subquery-to-run-the-sub-query-for-timings-different/m-p/552725#M156896</guid>
      <dc:creator>SG</dc:creator>
      <dc:date>2021-05-24T08:39:46Z</dc:date>
    </item>
  </channel>
</rss>

