In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
docker-compose.ymlversion: '3.7'services: elasticsearch: container_name: elasticsearch image: elasticsearch ports: - 9200:9200 - 9300:9300 fluentd: container_name: fluentd image: fluent/fluentd volumes: - ./ fluentd/conf:/fluentd/etc links: - elasticsearch ports: - 24224:24224 - 24224:24224/udp kibana: image: kibana links: - elasticsearch ports: - 5601:5601 nginx: image: nginx ports: - 80:80 links: - fluentd logging: driver: "fluentd" options: fluentd-address: localhost:24224 tag: nginx-access
create a directory
fluentd/conf
Create files in directories
fluent.conf Note that file names cannot be changed @type forward port 24224 bind 0.0.0.0 @type copy @type elasticsearch host elasticsearch port 9200 logstash_format true logstash_prefix fluentd logstash_dataformat %Y%m%d include_tag_key true type_name access_log type_key @log_name flush_interval 1s @type stdout
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.