Find plugins

Logstash1.4.0Minimum Jenkins requirement: 1.608ID: logstash

Installs: 1637
Last released: 24 days ago
K Jonathan Harker
Rusty Gerard
Jakub Bocheński

View Logstash on the plugin site for more information.

This plugin pushes logs and build data to a Logstash indexer such as Redis or RabbitMQ.

Migration from v0.8.0

Beginning with version 1.0.0, connection information for the Logstash indexer is stored in a global config (version 0.8.0 and older stored this information in the project settings). Upon upgrading you will need to go to Jenkins → Manage Jenkins → Global Tool Configuration to re-enter the connection information.

You should also refresh the configuration of every job that uses this plugin to eliminate the obsolete fields and prevent warnings from occurring in the Jenkins server logs. To do this, either edit the jobs individually in the UI and click the "Save" button, or go to Jenkins → Manage Jenkins → Manage Old Data and click "Discard Unreadable Data".

Figure 1: Global configuration settings

Figure 2: Obsolete configuration data found in jobs using v0.8.0 or older.


Indexers Currently Supported

The following data stores are currently supported for pushing logs and build data to:

  • Redis
  • RabbitMQ
  • Syslog

The plugin can also post directly to ElasticSearch.


This component streams individual log lines to the indexer for post-processing, along with any build data that is available at the start (some information such as the build status is unavailable or incomplete).

Post-Build Action

This component pushes the tail of the job's log to the indexer for post-processing, along with all build data at the time the post-build action had started (if any post-build actions are scheduled after this plugin they will not be recorded).

JSON Payload Format

JSON payload Example
      "fullDisplayName":"My Example Job #1",
      "Started by user anonymous",
      "Building in workspace /var/lib/jenkins/jobs/my_example_job/workspace",
      "Hello, World!"

Example payload sent to the indexer (e.g. RabbitMQ) using the post-build action component. Note that when the buildwrapper is used, some information such as the build result will be missing or incomplete, and the "message" array will contain a single log line.

Note that data.testResults will only be present if a publisher records your test results in the build, for example by using the JUnit Plugin.

Note: Please ensure the 'Mask Password Plugin'  is installed, to use the 'Send console log to Logstash' option from the 'Build Environment' options in the jenkins configure job page.


See Changelog on github


To report a bug or request an enhancement to this plugin please create a ticket in JIRA.

Issues (${entries.size()} issues)

T P Key Summary Status

ArchivesGet past versions