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!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

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 ...