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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...