Event actions
eval
|
<eval> |
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Executes an eval statement. An eval statement evaluates an expression and puts the results into a field. <eval> for dashboards works similarly, with some exceptions, to the SPL eval command. For more details, see eval in the Search Reference. |
||||||||||||||||
| Parent elements
<drilldown><condition> <search><condition> <change><condition> |
||||||||||||||||
|
CODE
|
||||||||||||||||
Attributes
|
||||||||||||||||
| Example
CODE
|
link
|
<link> |
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Specifies a link to a destination for drilldown or for a selected input choice.
<link> can be a child tag of <change>, <drilldown>, <search>, or <condition>. Use <link> as a child tag of <condition> when you want to configure distinct drilldown actions for specific fields or inputs. Otherwise, use <link> as a child tag of <change> or <drilldown>. There are various ways to specify a destination for the drilldown using relative paths or a URL, as described below |
||||||||||||||||
| Parent elements
<drilldown><condition> <search><condition> <change><condition>
CODE
|
||||||||||||||||
Attributes
|
||||||||||||||||
| Parent element
|
||||||||||||||||
|
CODE
|
||||||||||||||||
| Example
Use <link> with conditional inputs to open a new page.
CODE
|
set
|
<set> |
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Allows you to publish new global tokens that can be consumed by any other element or search within the dashboard. You typically publish tokens when using form inputs or when using drilldown.
For form inputs, specify tokens for actions to take for specific inputs. For drilldown, specify the value to capture when clicked. The value can be set dynamically using a token. For form inputs, <set> can be a child tag of <change> or <condition>. For drilldown, <set> can be a child tag of <drilldown> or <condition>.Use <set> as a child tag of <condition> when you want to configure distinct actions for specific inputs or for fields for drilldown. Otherwise, use <set> as a child tag of <change> or <drilldown> to specify an action for all inputs or for all fields. |
||||||||||||||||
| Parent elements
<change><condition> <drilldown><condition> <change> <drilldown> |
||||||||||||||||
There are two ways to set a value of a token.
|
||||||||||||||||
Attributes
|
||||||||||||||||
| Example
A click on the table sets a token which is consumed by the search of the chart visualization.
CODE
|
unset
|
<unset> |
||||||||
|---|---|---|---|---|---|---|---|---|
| Use <unset> to remove a token that was previously set. | ||||||||
| Parent elements
<change><condition> <drilldown><condition> <change> <drilldown> |
||||||||
|
CODE
|
||||||||
Attributes
|
||||||||
| Example
Use <set> and <unset> to define the visualization to use. Use token definitions to hide a panel.
XML
|