Skip to content

Instantly share code, notes, and snippets.

@iamlucianojr
Last active August 21, 2021 15:39
Show Gist options
  • Save iamlucianojr/f44dd82b4ee484cf6fd27cedcd4cf538 to your computer and use it in GitHub Desktop.
Save iamlucianojr/f44dd82b4ee484cf6fd27cedcd4cf538 to your computer and use it in GitHub Desktop.

Docker compose file for setting up a EFK service foobar

A basic docker compose file that will set up Elasticsearch, Fluent Bit, and Kibana.

The following docker compose allows to ingest data through Forward protocol or Syslog in UDP mode, examples:

Send data through Forward protocol

echo "{\"key\": 1234}" | fluent-cat test

Send data through Syslog UDP socket

logger -d -n 127.0.0.1 --port 5140 "hello"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment