Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
Add Journalbeat docker image (#58)
Browse files Browse the repository at this point in the history
This PR adds Journalbeat to the available Beats.
  • Loading branch information
kvch authored Nov 27, 2018
1 parent c9a69e5 commit bd79a70
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Documentation can be found on the [Elastic website][elastic]:
* [auditbeat][auditbeat]
* [filebeat][filebeat]
* [heartbeat][heartbeat]
* [journalbeat][journalbeat]
* [metricbeat][metricbeat]
* [packetbeat][packetbeat]

Expand All @@ -16,6 +17,7 @@ Documentation can be found on the [Elastic website][elastic]:
[auditbeat]: https://www.elastic.co/guide/en/beats/auditbeat/current/running-on-docker.html
[filebeat]: https://www.elastic.co/guide/en/beats/filebeat/current/running-on-docker.html
[heartbeat]: https://www.elastic.co/guide/en/beats/heartbeat/current/running-on-docker.html
[journalbeat]: https://www.elastic.co/guide/en/beats/journalbeat/current/running-on-docker.html
[metricbeat]: https://www.elastic.co/guide/en/beats/metricbeat/current/running-on-docker.html
[packetbeat]: https://www.elastic.co/guide/en/beats/packetbeat/current/running-on-docker.html

Expand Down
1 change: 1 addition & 0 deletions beats.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
auditbeat
filebeat
heartbeat
journalbeat
metricbeat
packetbeat
11 changes: 11 additions & 0 deletions build/journalbeat/config/journalbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
journalbeat.inputs:
- paths: []

processors:
- add_host_metadata:
- add_cloud_metadata:

output.elasticsearch:
hosts: ['elasticsearch:9200']
username: elastic
password: changeme
6 changes: 6 additions & 0 deletions templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,10 @@ services:
- NET_RAW
- NET_ADMIN
{%- endif %}

{% if beat == 'journalbeat' %}
volumes:
- /etc/machine-id:/etc/machine-id
- /etc/hostname:/etc/hostname:ro
{%- endif %}
{% endfor %}

0 comments on commit bd79a70

Please sign in to comment.