I do use a lot of Input to narrow down my graphs in my dashboard.
Since I do not like the drop down list in the input to be flooded, I like to use the same global time picker in Input as well in Panel.
If I add a Panel, I can go to Edit Search->Time Range Scope and select Shared Time Picker(some name)
But if I do the same for an Input, I only have the button for selecting a time range. No option for selecting the Shared Time Picker
Workaround is to do it manually by using earliest, latest option.
<input type="dropdown" token="Host" searchWhenChanged="true">
<search>
<query>sourcetype=master |
top host</query>
<earliest>$global_time.earliest$</earliest>
<latest>$global_time.latest$</latest>
</search>
<choice value="*">Any</choice>
<fieldForLabel>host</fieldForLabel>
<fieldForValue>host</fieldForValue>
<default>*</default>
</input>
This is equal to the setup done for the Panel
So my request is that this is fixed in next version.
I did hope this was fixed in 6.5, but it was not.
UPDATE:
This example should explain the problem.
Look at line 15 and 16. There you see the Global_Time used in the input.
It can be done using source edit, but not from the gui edit.
<form>
<label>dctest3</label>
<fieldset submitButton="false" autoRun="true">
<input type="time" token="Global_Time">
<label>`Time</label>
<default>
<earliest>-24h@h</earliest>
<latest>now</latest>
</default>
</input>
<input type="dropdown" token="Host" searchWhenChanged="true">
<search>
<query>index=main |
top host</query>
<earliest>$Global_Time.earliest$</earliest>
<latest>$Global_Time.latest$</latest>
</search>
<choice value="*">Any</choice>
<fieldForLabel>host</fieldForLabel>
<fieldForValue>host</fieldForValue>
<default>*</default>
</input>
</fieldset>
<row>
<panel>
<table>
<search>
<query>index=main host=$Host$ |stats count by host</query>
<earliest>$Global_Time.earliest$</earliest>
<latest>$Global_Time.latest$</latest>
</search>
<option name="drilldown">row</option>
</table>
</panel>
</row>
</form>
This picture is from the Panel and show the correct Time Range Scope
You can see the Global Time selected.
.
Now, take a look at time range section for the Input
You can only select the built in value and not the Global Time from the Time Input
... View more