Getting Data In

Making API Call to Splunk from Squarespace (splunk-sdk-JavaScript)

lianlim
Engager

I’m trying to implement api calls on my website hosted on Squarespace - has anyone had any success using splunk-sdk-js making API calls from Squarespace? Any working examples?

0 Karma

MuS
Legend

Hi lianlim,

like in your other question about the embedded dashboards, please consider the security risks before doing such a setup!

But basically it is exactly the same as documented here https://dev.splunk.com/enterprise/docs/javascript/sdk-javascript/howtousesdkjavascript/howtoconnects... the important things here are:

  • Your Squarespace instance needs to be able to connect to your Splunk instance
  • Create any needed firewall, security rules to protect your Splunk instance from unauthorised access
  • Set the capabilities of the Splunk user that connects to a bare minimum and only give read-only access

That should give you a starting point 😉

Hope that helps ...

cheers, MuS

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...