Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-composeでEFKを動作させる #1

Merged
merged 1 commit into from
Jan 18, 2023
Merged

docker-composeでEFKを動作させる #1

merged 1 commit into from
Jan 18, 2023

Conversation

kumashun8
Copy link
Owner

@kumashun8 kumashun8 commented Jan 18, 2023

以下を参考にelasticsearch+fluentd+kibanaをdocker-composeを使って動かす。
https://docs.fluentd.org/container-deployment/docker-compose

サンプル自体が古くなっている箇所がありコメントに残す。

コンテナを立ち上げた後のステップでアクセスするurlが別のへとリダイレクトして、そこで同じような設定をするとviewが見れた。
https://docs.fluentd.org/container-deployment/docker-compose#step-4-confirm-logs-from-kibana

image

image


FROM fluent/fluentd:v1.12.0-debian-1.0
USER root
RUN ["gem", "install", "fluent-plugin-elasticsearch", "--no-document", "--version", "5.2.4"]
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fluent/fluentd-docs-gitbook#391 (comment) を参考にplugin gem versionを最新に

- "24224:24224/udp"

elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.1.2
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fluent/fluentd-docs-gitbook#391 (comment) を参考にimageを8系に変更

@kumashun8 kumashun8 merged commit 1425fa4 into main Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant