Dashboards & Visualizations

In a dashboard, is it possible to restrict using some words or commands in a text box?

udayrega14
New Member

Hi All,

I have dashboard with a textbox where users are allowed to type database queries. I want to restrict user only to type select commands is it possible to do so?

Thanks & Regards,
uday

0 Karma

kmccririe_splun
Splunk Employee
Splunk Employee

Would using a dropdown or multi-select input on the dashboard work? That way you can specify what options your users can select.

Are you using Splunk's db connect to run these queries?

0 Karma

udayrega14
New Member

Dropdown and multi-select may not help much as the queries are not pre-defined .

Yes we are using Splunk's db connect to run the queries.

0 Karma

kmccririe_splun
Splunk Employee
Splunk Employee

Ah I had assumed you knew which queries you had wanted them to use. you only want the commands to be restricted not the whole query?

Could you get clever with having the SQL commands in a dropdown and the rest of the query in the search box?

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...