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

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...