Splunk Cloud Platform

Convert Btool command to rest command to be run on the cloud

robertlynch2020
Influencer

Hi

It is possible to convert enterprise command line 

 

 

bin/splunk btool limits list --app=MX.3_MONITORING_v3 --debug

 

 

To a rest command to be run from SPL in the cloud, please?

 

Thanks in advance

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Install the Admin's Little Helper app (https://splunkbase.splunk.com/app/6368).  It contains a 'btool' command that you can include in your SPL.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

dural_yyz
Motivator

I've not done the cloud enough to know if this works, but on prem I would have done this.

| rest splunk_server=local /servicesNS/-/-/configs/conf-limits search="eai:acl.app=*" 
0 Karma

robertlynch2020
Influencer

Hi 

Thanks for the help, i have installed it, but am I missing something.

robertlynch2020_0-1727456640529.png

 

0 Karma

isoutamo
SplunkTrust
SplunkTrust
Hi
as this is a generating command https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Commandsbytype#Generating_c... you must add "|" in front of it. It also must be the first command on your SPL (or inside subquery).

richgalloway
SplunkTrust
SplunkTrust

It's a generating command so the SPL has to start with a pipe.

| btool limits list
---
If this reply helps you, Karma would be appreciated.

richgalloway
SplunkTrust
SplunkTrust

Install the Admin's Little Helper app (https://splunkbase.splunk.com/app/6368).  It contains a 'btool' command that you can include in your SPL.

---
If this reply helps you, Karma would be appreciated.

robertlynch2020
Influencer

This worked well and thanks.

richgalloway
SplunkTrust
SplunkTrust

If your problem is resolved, then please click the "Accept as Solution" button to help future readers.

---
If this reply helps you, Karma would be appreciated.
0 Karma

robertlynch2020
Influencer

yes - Sorry - i thought i did - cheers for help 🙂

0 Karma
Get Updates on the Splunk Community!

Cultivate Your Career Growth with Fresh Splunk Training

Growth doesn’t just happen—it’s nurtured. Like tending a garden, developing your Splunk skills takes the right ...

Introducing a Smarter Way to Discover Apps on Splunkbase

We’re excited to announce the launch of a foundational enhancement to Splunkbase: App Tiering.  Because we’ve ...

How to Send Splunk Observability Alerts to Webex teams in Minutes

As a Developer Evangelist at Splunk, my team and I are constantly tinkering with technology to explore its ...