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!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...