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!

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

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

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...