Commit Graph

31 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI a6428c4c3a Modify the monitoring target of `Consul`. 2024-04-07 22:51:05 +09:00
Kazuhiro MUSASHI b7e6155ef7 Modify `Loki` endpoint. 2024-04-03 16:08:55 +09:00
Kazuhiro MUSASHI 7b2b4a56af Modify typo. 2024-04-03 16:08:48 +09:00
Kazuhiro MUSASHI 0843f51d08 Delete `Promtail` config. 2024-04-03 16:08:12 +09:00
Kazuhiro MUSASHI ea585545de Delete `Promtail` systemd config. 2024-04-03 16:07:58 +09:00
Kazuhiro MUSASHI e14a0072c1 Delete `Promtail` dependency. 2024-04-03 16:07:45 +09:00
Kazuhiro MUSASHI 55b473a646 Update sources.list and GPG key for Vector. 2024-03-31 20:07:39 +09:00
Kazuhiro MUSASHI 1de33f97cb Modify `vector` config for `alertmanager` 2023-06-24 21:38:14 +09:00
Kazuhiro MUSASHI 52cccb14c4 Deploy `vector` config for `unattended-upgrades-dpkg.log`. 2023-06-24 21:38:14 +09:00
Kazuhiro MUSASHI f0635a2e8a Deploy `vector` config for `journald`. 2023-06-24 21:38:14 +09:00
Kazuhiro MUSASHI 401423d0da Deploy `vector` config for `consul`. 2023-06-24 21:38:14 +09:00
Kazuhiro MUSASHI 75755b99f2 Deploy `vector` config for `/var/log/auth.log`. 2023-06-24 21:38:14 +09:00
Kazuhiro MUSASHI a201eea560 Deploy `vector` config for `apt`. 2023-06-24 21:37:45 +09:00
Kazuhiro MUSASHI 9175c284ec Update `Vector` config for `syslog` receiver. 2023-02-05 14:01:45 +09:00
Kazuhiro MUSASHI 7ddfc88518 Update `/etc/vector/syslog.tom`. 2023-02-05 13:58:57 +09:00
Kazuhiro MUSASHI bc2f8128ff `apt update`コマンドの実行回数を減らす 2022-08-11 12:21:39 +09:00
Kazuhiro MUSASHI 3d981799b6 Stop `vector` service. 2021-11-03 12:33:02 +09:00
Kazuhiro MUSASHI a81dc16e90 Add template for the apt source. 2021-11-03 12:32:32 +09:00
Kazuhiro MUSASHI 93064a94d4 Use `.deb` package to install `vector`. 2021-11-03 12:31:31 +09:00
Kazuhiro MUSASHI e113a42ade Modify `syslog.toml` to directly sending logs to `Loki`. 2021-10-22 15:19:44 +09:00
Kazuhiro MUSASHI a87e94d4ee Change `vector` download URL.
```
diff --git a/cookbooks/vector/attributes.rb b/cookbooks/vector/attributes.rb
index c41aaf0..e48f7ef 100644
--- a/cookbooks/vector/attributes.rb
+++ b/cookbooks/vector/attributes.rb
@@ -16,7 +16,7 @@ ipaddr = run_command(cmd).stdout.chomp

 node.reverse_merge!({
   'vector' => {
-    'url' => 'https://github.com/timberio/vector/releases/download/',
+    'url' => 'https://github.com/vectordotdev/vector/releases/download/',
     'ipaddr' => ipaddr,
     'debPrefix' => 'vector-',
     'debPostfix' => '-amd64.deb'
```

```
diff --git a/cookbooks/vector/install.rb b/cookbooks/vector/install.rb
index 3def346..389ee76 100644
--- a/cookbooks/vector/install.rb
+++ b/cookbooks/vector/install.rb
@@ -8,7 +8,8 @@ vtag       = ''
 begin
   require 'net/http'

-  uri = URI.parse('https://github.com/timberio/vector/releases/latest')
+
+  uri = URI.parse('https://github.com/vectordotdev/vector/releases/latest')

   Timeout.timeout(3) do
     response = Net::HTTP.get_response(uri)
```
2021-09-23 19:19:38 +09:00
Kazuhiro MUSASHI 962307289b Always make `/var/log/vector` directory. 2020-12-13 14:08:36 +09:00
Kazuhiro MUSASHI 8497937786 Ignore "Last log rotation time" message. 2020-12-06 12:27:06 +09:00
Kazuhiro MUSASHI 6822c916e6 Ignore "Calculated write I/O size" message. 2020-12-06 12:27:06 +09:00
Kazuhiro MUSASHI bd1571e11c Because of the download URL change, modify the formula to generate URL. 2020-12-06 12:04:40 +09:00
Kazuhiro MUSASHI 1b52f65c91 Because of the download URL change, modify attiributes. 2020-12-06 12:04:10 +09:00
Kazuhiro MUSASHI ccaaa81cb4 Modify owner and group for `consul` config from `root` to `consul`. 2020-11-28 16:18:46 +09:00
Kazuhiro MUSASHI 9af4fa19a6 Reload `consul` when deploying service config. 2020-11-28 16:18:46 +09:00
Kazuhiro MUSASHI 910252eb50 Modify `promtail` config for `syslog` monitoring. 2020-11-12 16:11:17 +09:00
Kazuhiro MUSASHI 1b6b3bb0a5 Set up `vector` for `syslog`. 2020-10-31 16:53:32 +09:00
Kazuhiro MUSASHI 9d1d6018bd Install `vector`. 2020-10-31 16:51:38 +09:00