Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After the inputs are defined in the dashboard settings it is required to enter their references inside the gadgets search queries mandatory to configure the searches of the gadgets to use them in order to update a gadget's result on upon an input selection.

The syntax which is used in the search queries is [XI:INPUT_KEY] - this value will be replaced by XpoLog when a user makes a selection in the inputs forms and click Apply.
Image Removedclicks Apply, INPUT_KEY stands for the input key configured in the dashboard settings inputs section.

 

For example:

  1. In the dashboard settings create a Granularity input with a key 'interval'. Set it as a list of static values (1 second, 1 minute, 1 hour (default), etc.) and save:
    Image Added
  2. In the dashboard itself you will see a drop down menu with the values of the Granularity input (with the default selected).
    Note, at this point the gadget will not react to selections made on the input as the input key is not combined with the search query yet:
    Image Added

  3. Edit the gadget and combine the interval XpoLog Input as part of the query and save:

    * | count | interval [XI:interval] | display count as events over time

    Notice the [XI:interval] which will be used when a selection of the input's value will be made.
     
  4. A selection of Granularity 'Minutes' and applying will display a different view of the gadget:
    Image Added