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.

Welcome to Splunk logging for JavaScript and the Bunyan stream for HTTP Event Collector!

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 "EC") is a new way to send data to Splunk Enterprise. With EC, 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. EC 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.

For more information about HTTP Event Collector, see Introduction to HTTP Event Collector.

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.