Dashboards & Visualizations

How do I execute Splunk CLI command using a button (onclick) in a XML/HTML Splunk Dashboard?

antoniofacchi
New Member

Hi All,

I would like to execute a CLI command (to start/stop Splunkd) using a button (onclick) in a XML/HTML Splunk Dashboard.

How can do it?

Many thanks for the support.

Best regards
Antonio

0 Karma

antoniofacchi
New Member

Hi,
maybe I didn't say it clear enought, sorry.

What I need is a jquery executing the commands when I press a button in a my own dashbord. How can I do?
Sorry again.
Thanks and regards
Antonio

0 Karma

harishalipaka
Motivator

Hi @antoniofacchi

Have a look into this link.
It near by what do you want.

Link_answer_chick here

Thanks
Harish
0 Karma

Dawson014
Path Finder

Hi,

If you are trying to start/stop splunkd for a forwarder maybe, take a look at this application -
https://splunkbase.splunk.com/app/2775/

Or, there is already provision in splunk to restart from ui.
Click on Settings > Server controls

0 Karma
Get Updates on the Splunk Community!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...