Splunk Dev

How to check Programmatically plugin installed on on-preme or on-cloud?

ASorathiya1986
Loves-to-Learn Everything

I have developed Splunk add-on which compatible for splunk enterprise but not for cloud due to one functionality . So I would like keep single build but I want to add condition for based on Enterprise and Cloud so it can support both

Is that case possible?

Labels (1)
0 Karma

ASorathiya1986
Loves-to-Learn Everything

Hello Team, I have created splunk add-on and I want to add conditions on UI and based on onPrem enterprise vs cloud Splunk I want to show the data. any one can help here?

 

0 Karma

PickleRick
SplunkTrust
SplunkTrust

But what kind of condition? Changing what behaviour?

0 Karma

ASorathiya1986
Loves-to-Learn Everything

Yes. based on Environment. I would show and hide field. 

As instance. We required SSL compulsory on for cloud where as on Enterprise it is optional

 
 
Tags (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

You could try

| rest /services/server/sysinfo

and check if output differs between Enterprise and Cloud. 

0 Karma

ASorathiya1986
Loves-to-Learn Everything

This query return result but is there any python script to get info?

0 Karma
Get Updates on the Splunk Community!

Industry Solutions for Supply Chain and OT, Amazon Use Cases, Plus More New Articles ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Enterprise Security Content Update (ESCU) | New Releases

In November, the Splunk Threat Research Team had one release of new security content via the Enterprise ...

Index This | Divide 100 by half. What do you get?

November 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...