# LogAnalysisSystem **Repository Path**: cci8go/LogAnalysisSystem ## Basic Information - **Project Name**: LogAnalysisSystem - **Description**: No description available - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-06-20 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #中间件 数据库:influxdb 前端:Grafana Labs #docker安装influxdb docker pull influxdb docker images docker run -d -p 8083:8083 -p8086:8086 --expose 8090 --expose 8099 --name influxDbService influxdb 各个参数含义: -d:容器在后台运行 -p:将容器内端口映射到宿主机端口,格式为 宿主机端口:容器内端口;8083是influxdb的web管理工具端口,8086是influxdb的HTTP API端口 --expose:可以让容器接受外部传入的数据 --name:容器名称 创建数据库 curl -G http://localhost:8086/query --data-urlencode "q=CREATE DATABASE mydb" #docker安装 Grafana https://grafana.com/docs/installation/docker/ http://127.0.0.1:3000/login 登录 admin admin 配置 URL:http://localhost:8086 Access:Borwser