Overview of Splunk logging for JavaScript and Bunyan stream for HTTP Event Collector

Note: Both Bunyan stream for HTTP Event Collector and Splunk logging for JavaScript are currently in beta.

Splunk logging for JavaScript allows you to configure event logging to HTTP Event Collector on a Splunk Enterprise instance or in Splunk Cloud from within your JavaScript applications. In addition, Splunk provides a stream for Bunyan, a third-party logging library for Node.js, to HTTP Event Collector.

About HTTP Event Collector

HTTP Event Collector (or "HEC") is a new way to send data to Splunk Enterprise. With HEC, the data source (or sources) send data through HTTP or HTTPS directly to Splunk Enterprise or Splunk Cloud. Splunk logging for JavaScript helps automate the process of properly formatting and sending the data. HEC uses specialized tokens, so you don't need to hard-code your Splunk Enterprise credentials in your app or supporting files. It's also scalable. Use Deployment Server to deploy your tokens and configuration files to other Splunk Enterprise instances, and then use a load balancer to distribute incoming HTTP Event Collector data evenly to indexers.

About Splunk logging for JavaScript

To contribute to Splunk logging for JavaScript, or to obtain it directly from GitHub, see the splunk-javascript-logging public repository on GitHub. You can also access the Bunyan stream for HTTP Event Collector public repository at splunk-bunyan-logger.

Questions?

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website.
Learn more (including how to update your settings) here »