<?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 display a time range token in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705834#M238948</link>
    <description>&lt;P&gt;Do you mean the control panel?&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-03 145254.png" style="width: 249px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33679i460361F37CB8A120/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-03 145254.png" alt="Screenshot 2024-12-03 145254.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2024 14:54:21 GMT</pubDate>
    <dc:creator>Jamietriplet</dc:creator>
    <dc:date>2024-12-03T14:54:21Z</dc:date>
    <item>
      <title>How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705811#M238939</link>
      <description>&lt;P&gt;Hello guys, I am trying to add a time range to my search, so the user can pick any time range and see data for the selected time (e.g. 24hours, last 30 days, previous year etc), . I created a time range control and token for this purpose, called TimeRange. But when I run my query, I get the below error:&lt;/P&gt;&lt;P&gt;Invalid value "$TimeRange$" for time term 'earliest'&lt;/P&gt;&lt;P&gt;Here is my query:&lt;BR /&gt;base query earliest = $TimeRange$, latest=now ()&lt;BR /&gt;| other query&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 12:50:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705811#M238939</guid>
      <dc:creator>Jamietriplet</dc:creator>
      <dc:date>2024-12-03T12:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705813#M238941</link>
      <description>&lt;P&gt;Please show what is in your token and how you have set it&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 13:01:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705813#M238941</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-12-03T13:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705817#M238942</link>
      <description>&lt;P&gt;Token was set using the time range control. see below image&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-03 130629.png" style="width: 430px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33677i9B2ED5C9643E9FAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-03 130629.png" alt="Screenshot 2024-12-03 130629.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 13:08:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705817#M238942</guid>
      <dc:creator>Jamietriplet</dc:creator>
      <dc:date>2024-12-03T13:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705822#M238943</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;earliest = $TimeRange.earliest$, latest=$TimeRange.latest$&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 03 Dec 2024 13:50:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705822#M238943</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-12-03T13:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705823#M238944</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;, I tried this and got this same error:&lt;BR /&gt;&lt;SPAN&gt;Invalid value "$TimeRange.earliest$" for time term 'earliest&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 13:57:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705823#M238944</guid>
      <dc:creator>Jamietriplet</dc:creator>
      <dc:date>2024-12-03T13:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705826#M238945</link>
      <description>&lt;P&gt;Please share the source code for the Time Selection dropdown and for the search panel you are referencing the token.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 14:37:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705826#M238945</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2024-12-03T14:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705828#M238946</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/194981"&gt;@dural_yyz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;This is the source code for the control and token&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&g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t;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"type"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"input.timerange"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;see the picture for the panel&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-03 130629.png" style="width: 430px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33678i04F37748F3D20A04/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-03 130629.png" alt="Screenshot 2024-12-03 130629.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Dec 2024 14:44:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705828#M238946</guid>
      <dc:creator>Jamietriplet</dc:creator>
      <dc:date>2024-12-03T14:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705830#M238947</link>
      <description>&lt;P&gt;Share the panel that is referencing the TimeRange with the error.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 14:48:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705830#M238947</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2024-12-03T14:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705834#M238948</link>
      <description>&lt;P&gt;Do you mean the control panel?&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-03 145254.png" style="width: 249px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33679i460361F37CB8A120/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-03 145254.png" alt="Screenshot 2024-12-03 145254.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 14:54:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705834#M238948</guid>
      <dc:creator>Jamietriplet</dc:creator>
      <dc:date>2024-12-03T14:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705844#M238949</link>
      <description>&lt;P&gt;There is a search panel you are trying to pass the variables to.&amp;nbsp; The panel that gives an error when trying to use the token values.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 15:53:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705844#M238949</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2024-12-03T15:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705845#M238950</link>
      <description>&lt;P&gt;Your panel will have a search (data source) associated with it - how is that data source configured (with respect to timeframe)?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 15:55:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705845#M238950</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-12-03T15:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705849#M238951</link>
      <description>&lt;P&gt;index=Index name sourcetype=sourcetype name (field names)earliest=$TimeRange$ latest=now()&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 16:04:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705849#M238951</guid>
      <dc:creator>Jamietriplet</dc:creator>
      <dc:date>2024-12-03T16:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705850#M238952</link>
      <description>&lt;P&gt;index=Index name sourcetype=sourcetype name (field names)earliest=$TimeRange$ latest=now()&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 16:05:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705850#M238952</guid>
      <dc:creator>Jamietriplet</dc:creator>
      <dc:date>2024-12-03T16:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705851#M238953</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/267740"&gt;@Jamietriplet&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;index=Index name sourcetype=sourcetype name (field names)earliest=$TimeRange$ latest=now()&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;LI-CODE lang="markup"&gt;index=Index name sourcetype=sourcetype name (field names)earliest=$TimeRange.earliest$ latest=$TimeRange.latest$&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 03 Dec 2024 16:07:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705851#M238953</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2024-12-03T16:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705853#M238954</link>
      <description>&lt;P&gt;Tried this already and got this error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Invalid value "$TimeRange.earliest$" for time term 'earliest'&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 16:09:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705853#M238954</guid>
      <dc:creator>Jamietriplet</dc:creator>
      <dc:date>2024-12-03T16:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705856#M238955</link>
      <description>&lt;P&gt;Its important to note that i wrote a similar line of code for another panel and got no error, see below:&lt;/P&gt;&lt;P&gt;index = index name sourcetype = sourcetype name (field names) earliest =$StartTime$&amp;nbsp; latest=$FinishTime$&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 16:20:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705856#M238955</guid>
      <dc:creator>Jamietriplet</dc:creator>
      <dc:date>2024-12-03T16:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705857#M238956</link>
      <description>&lt;P&gt;Its important to note that i wrote a similar line of code for another panel and got no error, see below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index = index name sourcetype = sourcetype name (field names) earliest =$StartTime$  latest=$FinishTime$&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 03 Dec 2024 20:00:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705857#M238956</guid>
      <dc:creator>Jamietriplet</dc:creator>
      <dc:date>2024-12-03T20:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a time range token</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705859#M238957</link>
      <description>&lt;P&gt;I am not sure why you won't show us what you do have - perhaps we might be able to see what is wrong - what you are sharing with us at the moment is not moving things forward.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 16:29:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-time-range-token/m-p/705859#M238957</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-12-03T16:29:54Z</dc:date>
    </item>
  </channel>
</rss>

