Versions Compared

Key

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

Users Inputs provide an interface for users to supply values that effect gadgets search terms in a visual formand displayed results based on their selection. Typically, the inputs are displayed in a checkbox, text area, dropdown menus or radio buttons. 

The forms allow users to visually make selections which impact the underlying searches and focus only on points of interest while viewing dashboard's results.

Configuring User Inputs:
There are 2 aspects the should be configured in order to use Inputs 

...

.

...

  • Default Value - The value that will be used by default (leave empty for empty default)
  • Placeholder - Text that will be displayed within the input text area to imply the user what the optional values are 

...

  • Multiple Selection - Determines whether it is possible to select more than one value of the list or not
  • Show as Drop Down - Determines whether the list should be display an horizontal values list or as a dropdown menu
  • List Type - Determines the type of list of this input:
    • Static - A static list of values entered by the administrator
    • Query Based - A dynamic list which is a result of a search query
    • Sources Based - A dynamic list of sources available in XpoLog (Logs, Folders, AppTags, Servers)
    • Predefined - Upload a key=value type of file which contains a list of values that will be displayed in the input

...

 

Searches in the Gadgets within a dashboard

After the inputs are defined it is required to enter their references inside the gadgets search queries in order to update a gadget's result on 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 Modified