Creating a radio input
Now we are going to create radio inputs with dynamic search options. This will allow viewers to select server and status types, and will affect the information rendered by the panels:
- Click on Edit | Edit Panels.
- Select Add Input | Radio.
- Click on the Editicon in the newly created input.
- In the Labelfield, type in
Select Server
. - Enable Search on Changeby checking the checkbox.
- In the Token field, type
server
: - Scroll down to Static Optionsand click on it. In Static Options, add Name as
ALL
and Value as*
. - Click Dynamic Options, then fill inSearch String, entering the following search command:
SPL> index=main | top server_ip
Get Splunk Essentials - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.