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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...