66 lines
1.4 KiB
JSON
66 lines
1.4 KiB
JSON
{
|
|
"ConfigFiles": [
|
|
{
|
|
"destination": "/etc/loki/loki-local-config.yaml",
|
|
"group": "grafana",
|
|
"mode": "600",
|
|
"owner": "loki",
|
|
"service": "loki",
|
|
"source": "loki-local-config.pktpl.hcl"
|
|
}
|
|
],
|
|
"Daemons": {
|
|
"Loki": {
|
|
"enabled": true,
|
|
"name": "loki"
|
|
}
|
|
},
|
|
"Packages": {
|
|
"loki": {
|
|
"action": "install",
|
|
"name": "loki"
|
|
},
|
|
"nodeExporter": {
|
|
"action": "install",
|
|
"name": "prometheus-node-exporter"
|
|
},
|
|
"promtail": {
|
|
"action": "install",
|
|
"name": "loki-promtail"
|
|
}
|
|
},
|
|
"Repositories": {
|
|
"AlpineTesting": {
|
|
"enabled": true,
|
|
"name": "testing",
|
|
"type": "apk",
|
|
"url": "http://mirrors.bfsu.edu.cn/alpine/edge/testing"
|
|
}
|
|
},
|
|
"Users": {
|
|
"loki": {
|
|
"group": "grafana",
|
|
"home": "/srv/loki",
|
|
"shell": "/bin/nologin",
|
|
"username": "loki"
|
|
}
|
|
},
|
|
"Vars": {
|
|
"AlertManagerURL": "http://localhost:9092",
|
|
"AuthEnabled": false,
|
|
"GRPCPort": "9095",
|
|
"Group": "grafana",
|
|
"HTTPPort": "3099",
|
|
"LogLevel": "error",
|
|
"ObjectStore": "filesystem",
|
|
"S2": {
|
|
"APIKey": "",
|
|
"APISecretKey": "",
|
|
"BucketName": "",
|
|
"URL": ""
|
|
},
|
|
"SharedStore": "filesystem",
|
|
"StorageRoot": "/var/loki",
|
|
"User": "loki"
|
|
}
|
|
} |