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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...