https://github.com/splunk/splunk-addon-for-cloud-foundry
Splunk Add-on for Cloud Foundry is used to parse, analyze & visualize Cloud Foundry Firehose data which includes metrics from all Cloud Foundry system components, in addition to logs and metrics from all applications. It provides several prebuilt panels targeted for Cloud Foundry operators to help them easily build rich & interactive dashboards and gain operational visibility over their Cloud Foundry deployments.
Splunk Add-on for Cloud Foundry is a Supporting Add-on, and as such, it does not contain any inputs. It is used in conjunction with Splunk Firehose Nozzle which collects data from Cloud Foundry Firehose and forwards it to a Splunk deployment.
For BOSH-managed deployment of Splunk Firehose Nozzle, refer to Splunk Firehose Nozzle BOSH release which deploys the nozzle along with a co-located pre-configured Splunk forwarder to forward to one or more Splunk indexers in a reliable, secure & scalable manner.
Splunk Add-on for Cloud Foundry is installed on Splunk search head(s). Download the Add-on from Splunkbase then upload the .spl file either directly via Splunk UI or Splunk CLI in case of a single instance Splunk deployment. For a distributed Splunk deployment, you may want to install it via Splunk deployment server or Splunk search head cluster deployer (in case of a search head cluster), or your favorite 3rd party configuration management tool.
Alternatively, for development purposes, you can clone this repo and copy/symlink it under etc/apps/
directory of your Splunk installation.
Splunk Add-on for Cloud Foundry expects the following data sourcetypes which are automatically assigned by Splunk Firehose Nozzle to each streaming Firehose event based on its type before forwarding it to Splunk. For detailed descriptions of each Firehose event type and their fields, refer to underlying dropsonde protocol.
Splunk sourcetype | Firehose event type | Description |
---|---|---|
cf:error |
Error | An Error event represents an error in the originating process |
cf:httpstartstop |
HttpStartStop | An HttpStartStop event represents the whole lifecycle of an HTTP request |
cf:logmessage |
LogMessage | A LogMessage contains a "log line" and associated metadata |
cf:containermetric |
ContainerMetric | A ContainerMetric records resource usage of an app in a container |
cf:counterevent |
CounterEvent | A CounterEvent represents the increment of a counter |
cf:valuemetric |
ValueMetric | A ValueMetric indicates the value of a metric at an instant in time |
In addition, logs from the nozzle itself are of sourcetype cf:splunknozzle
.
Splunk Add-on for Cloud Foundry provides several prebuilt panels that you can immediately add to your own Cloud Foundry operational dashboards. Refer to Add panels to dashboards in Splunk Docs for more information.
- https://github.com/cloudfoundry-community/splunk-firehose-nozzle
- https://github.com/cloudfoundry-community/splunk-firehose-nozzle-release
- https://docs.cloudfoundry.org/loggregator/architecture.html#firehose
- https://docs.pivotal.io/pivotalcf/1-8/loggregator/log-ops-guide.html
This is a community supported Add-on. As such, please post questions in Splunk Answers and reference it. Someone should be with you shortly. Pull requests via github are welcome!
- Authors: Roy Arsan [email protected], Matt Cholick [email protected]
- Copyright 2016 Splunk, Inc.
Splunk Add-on for Cloud Foundry is licensed under the Apache License 2.0.
Details can be found in the LICENSE file.