The Splunk TA for Octopus Deploy is a technology add-on for retrieving data from a Octopus Deployment installation. This Add-On only provides a Modular Input and related configuration files.
You must have an installed and configured Octopus application to complete the setup process of this app.
Splunklib which originates from the Splunk Software Development Kit for Python. The Splunk Software Development Kit for Python is licensed under the Apache License 2.0.
This add-on ships with the Python SDK v1.6.2.
For compatibility with Python 2.#, The Splunk Software Development Kit for Python ships with ordereddict.py from the ordereddict package on PyPI, which is licensed under the MIT license (see the top of bin/splunklib/ordereddict.py).
Too make sure everything works correctly make sure the following is available and working:
- A working Octopus application
- Access to the REST API port on the Octopus server from a Heavy Forwarder or Splunk single instance (port 80 for HTTP and port 443 for HTTP or else if configured differently)
- An API key to retrieve data from Octopus. See Octopus Wiki.
- A Splunk Heavy Forwarder or Single Instance with Splunk 6.0.x or higher running on Linux or Unix or OS X.
Installation of the apps can be done using the Splunk UI as explained below or manually be extracting the add-on to the $SPLUNK_HOME/etc/apps folder.
Install using Splunk UI:
- Select "Manage Apps" from the Apps dropdown.
- Select the "Install app from file" button.
- Select the generated
TA-octopus_deploy.spl
package. - Go to Settings -> Data Inputs -> Octopus Deploy API to add inputs.
Configure the TA
The TA will not deliver predefined inputs for now so you need to configure each inputs manually. Go to Settings -> Data Inputs -> Octopus Deploy API to start configuring Inputs.
When you press "New" the Input Wizard will start and you will see one screen with multiple fields.
- Name > The name for Input in the Splunk UI (e.g. Octopus Users)
- Endpoint > The Octopus endpoint to access (e.g. users)
- Hostname > The protocol, hostname and port on which Octopus Deploy is listening (e.g. http://octopus.example.com:8080)
- Password > The API key needed for authentication with the API. See Octopus Wiki.
- Confirm password > The API key needed for authentication with the API.
- Use check pointing > If you do not want to index all the data inside each time the Input is running enable check pointing. The Input will keep track of the last indexed record and will only index new records.
- Interval > Configure the interval on which the Input needs to run.
Check "More Settings" to configure Sourcetype, Host and Index.
The following list show the most common endpoints for Octopus Deploy API and if check pointing should be applied:
- machines (use check pointing: NO)
- projects (use check pointing: NO)
- releases (use check pointing: YES)
- deployments (use check pointing: YES)
- events (use check pointing: YES)
- environments (use check pointing: NO)
- users (use check pointing: NO)
- tasks (use check pointing: YES)
See Octopus Wiki for more information on the available endpoints.
See CHANGELOG for details.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
This app is developed in the open at GitHub. Use that repository-page to file issues if you have questions or need support.
- Rebuild Add-on using Splunk Add-on Builder so the TA will confirm to Splunk best practices and uses a nice UI for configuring inputs
Copyright (c) 2017 Coen Meerbeek. See LICENSE for details.