Document toolboxDocument toolbox

Text box input

Data settings

This type of input lets you enter any string value and so is a flexible option for a variable element in a widget. The most important setting to consider for this type of input is the ID, which needs to be used in the syntax inserted in the widget query to invoke the input values.

Visual settings

This type of input only has one option in the visual settings, the Disabled option, which is a toggle to block the input.

Entering values in the input

After configuring the input settings and the widget query to invoke the input values, you just have to write the required values inside the text box on the Activeboard and the widget will reflect the results.

Widget data display

For a successful data display on the widget, you need to take into account the function of the values inside the widget query. This means that you need to introduce the values in the input as they would appear in the widget query and use the right operator in the widget query to invoke them. See the article Calling an input value from a widget for more information.

Imagine that we want to be able to use a table widget as a sort of placeholder in our Activeboard and be able to easily change the query that feeds it. We can add a text box type input to the Activeboard (say the input's ID is Input0) and use it for query entry.

  • Widget → The query that feeds the table widget should be:

    query(Input0.value)
  • Input → Enter the required query in the input to show data on the widget, for example:

    from siem.logtrust.web.activity where isnotnull(city) where not isempty(city) group by city, country, method select count() as count

Â