The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Logstash

logstash: Send individual log lines to Logstash

Send individual log lines to Logstash.

    logstashSend: Send console log to Logstash

    Send the tail of the log to Logstash.

    Hint: In order to get the result in the data sent to Logstash it must be set before the logstashSend step.
    Due to the way log output was collected in older version of the pipeline plugin, the logstashSend step might not transfer the lines logged directly before the step is called. Adding a sleep of 1 second might help here.

    • maxLines : int
    • failBuild : boolean

    step([$class: 'LogstashNotifier']): Send console log to Logstash

    Send the tail of the log to Logstash.

    • maxLines : int
    • failBuild : boolean

    Was this page helpful?

    Please submit your feedback about this page through this quick form.

    Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

        


    See existing feedback here.