Containers Logstash

  • By Ubuntu Containers Team
Channel Version Revision Published Runs on
latest/stable 0 0 18 Mar 2021
Ubuntu 14.04
latest/edge 2 2 18 Mar 2021
Ubuntu 14.04
juju deploy containers-logstash
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.




Logstash helps you process logs and other event data. Read more

Relevant links

Discuss this charm

Share your thoughts on this charm with the community on discourse.

Join the discussion


A flexible, open source data collection, enrichment, and transportation pipeline. With connectors to common infrastructure for easy integration, Logstash is designed to efficiently process a growing list of log, event, and unstructured data sources for distribution into a variety of outputs, including Elasticsearch.


This charm makes use of interface:java which means you will need to deploy a compatible JRE along with the Logstash application. This allows the consumer to swap the version of java being used by configuring the system's java installation.

 juju deploy logstash
 juju deploy zulu8
 juju add-relation logstash zulu8
This charm is bundled for your convenience.

Typically Logstash is deployed along side its companion products Elasticsearch and Kibana. This suite of services is known as the ELK stack, and is deployable today:

juju deploy ~containers/bundle/elk-stack
Testing the deployment

The services provide extended status reporting to indicate when they are ready:

juju status --format=tabular

This is particularly useful when combined with watch to track the on-going progress of the deployment:

watch -n 0.5 juju status --format=tabular

The message for each unit will provide information about that unit's state. Once they all indicate that they are ready, you can use the provided generate-noise action to test that the applications are working as expected:

juju action do logstash/0 generate-noise
watch juju action status

Once the action is complete, you can retrieve the results:

juju action fetch <action-id>

The <action-id> value will be in the juju action status output.

Contact information

  • Charles Butler <>
  • Matt Bruzek <>

Need Help?