Sign inSign up

pontostroy/journalbeat

By pontostroy

•Updated almost 8 years ago

Image
0

249

pontostroy/journalbeat repository overview

Run with

docker run -it --network=host --volume=/var/log/journal:/var/log/journal --volume=/run/log/journal:/run/log/journal --volume=$(pwd)/data:/data  --volume=/etc/machine-id:/etc/machine-id:ro --volume=$(pwd)/journalbeat.yml:/journalbeat.yml  pontostroy/journalbeat

or

docker run -it --network=host --volume=/var/log/journal:/var/log/journal --volume=/run/log/journal:/run/log/journal --volume=/etc/machine-id:/etc/machine-id:ro --volume=/tmp/journalbeat.yml:/journalbeat.yml pontostroy/journalbeat

or with

docker run -it --network=host --volume=/var/log/journal:/var/log/journal --volume=/run/log/journal:/run/log/journal --volume=/etc/machine-id:/etc/machine-id:ro pontostroy/journalbeat

with default journalbeat.yml

tags: [ "beat"]
journalbeat:
  write_cursor_state: true 
  cursor_state_file: /data/journalbeat-cursor-state
  pending_queue.file: /data/journalbeat-pending-queue
  flush_cursor_secs: 5s
  seek_position: cursor
  cursor_seek_fallback: tail
  clean_field_names: false
  convert_to_numbers: false
  kernel: true
  processors:
- drop_fields:
    fields: ["host", "host.name"]
output:
  console:
     enable: true
     pretty: true
logging.metrics.enabled: false
logging.metrics.period: 10s
logging.to_syslog: false
fields_under_root: true
fields:
    type: journalbeat
http.enabled: true
http.host: localhost
http.port: 5066

Tag summary

Content type

Image

Digest

Size

29.7 MB

Last updated

almost 8 years ago

docker pull pontostroy/journalbeat