Parameters
  • 08 Sep 2022
  • 1 Minute to read
  • Dark
    Light

Parameters

  • Dark
    Light

Complex search queries sometimes require defining a value multiple times. Changing this value can especially be demanding. Parameters are very helpful in this scenario. They allow the usage of a placeholder which can be used as many times as needed.

parameter_example

Important

Parameters are an Operations Integrations plugin feature and thus require an Enterprise license.

Declaring a parameter

Parameters can be added to wherever you want to perform a search, like in saved searches, dashboards or on the main search page. To create a parameter just open the sidebar section and select the option.

parameter_creation_step1

This will open a modal with the following options.

parameter_creation_step2

  • Name: The name of the placeholder you will use inside your query. It will represent the value.
  • Title: The title will be displayed beside the parameter declaration input.
  • Description: While the title should describe the parameter's purpose, the description allows defining a more complex explanation.
  • Default: The default value for the parameter. More on this in the next section.

After clicking on Submit you will be able to implement the parameter inside your query with the syntax.

Default values

When using parameters you always need to define a value for every parameter. Otherwise, the query is not appropriate and the search can not be executed. With default parameter values, the search will always be executable, unless you remove a value manually.

When opening a dashboard or saved search you will see the following dialog first, unless your configured parameter has a default value.

parameter_dashboard_dialog


Was this article helpful?