vector
This commit is contained in:
parent
e3e360f1c1
commit
e713a2213b
|
@ -0,0 +1,12 @@
|
|||
# Instalación
|
||||
|
||||
|
||||
[Flame](https://github.com/pawelmalak/flame) es un software para crear una "página de inicio" con enlaces a nuestras aplicaciones web y sitios web favoritos.
|
||||
|
||||
```
|
||||
git clone https://github.com/atareao/self-hosted.git
|
||||
cd self-hosted/flame
|
||||
cp sample.vector.toml vector.toml
|
||||
```
|
||||
|
||||
Además recuerda cambiar el usuario y la contraseña.
|
|
@ -0,0 +1,19 @@
|
|||
version: "3.7"
|
||||
|
||||
services:
|
||||
vector:
|
||||
image: timberio/vector:latest-alpine
|
||||
container_name: vector
|
||||
restart: unless-stopped
|
||||
init: true
|
||||
ports:
|
||||
- 8686:8686
|
||||
volumes:
|
||||
- ./vector.toml:/etc/vector/vector.toml:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
networks:
|
||||
- networklog
|
||||
|
||||
networks:
|
||||
networklog:
|
||||
external: true
|
|
@ -0,0 +1,25 @@
|
|||
[api]
|
||||
enabled = true
|
||||
address = "0.0.0.0:8686"
|
||||
|
||||
[sources.docker_logs]
|
||||
type = "docker_logs"
|
||||
|
||||
# [sinks.console]
|
||||
# inputs = ["docker_logs"]
|
||||
# target = "stdout"
|
||||
# type = "console"
|
||||
# encoding.codec = "json"
|
||||
|
||||
[sinks.zo]
|
||||
type = "http"
|
||||
inputs = ["docker_logs"]
|
||||
uri = "http://zincobserve:5080/api/default/logs/_json"
|
||||
method = "post"
|
||||
auth.strategy = "basic"
|
||||
auth.user = "usuario"
|
||||
auth.password = "contraseña"
|
||||
compression = "gzip"
|
||||
encoding.codec = "json"
|
||||
encoding.timestamp_format = "rfc3339"
|
||||
healthcheck.enabled = false
|
Loading…
Reference in New Issue