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!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...