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
Builder

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!

Splunk is Nurturing Tomorrow’s Cybersecurity Leaders Today

Meet Carol Wright. She leads the Splunk Academic Alliance program at Splunk. The Splunk Academic Alliance ...

Part 2: A Guide to Maximizing Splunk IT Service Intelligence

Welcome to the second segment of our guide. In Part 1, we covered the essentials of getting started with ITSI ...

Part 1: A Guide to Maximizing Splunk IT Service Intelligence

As modern IT environments continue to grow in complexity and speed, the ability to efficiently manage and ...