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!

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...

New Dates, New City: Save the Date for .conf25!

Wake up, babe! New .conf25 dates AND location just dropped!! That's right, this year, .conf25 is taking place ...

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...