)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"0fdd7101713a0519a9d8075a78be7667be57dfb7","unresolved":true,"context_lines":[{"line_number":4,"context_line":"Commit:     Matthew Heler \u003cmatthew.heler@hotmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2023-07-27 18:38:31 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Enables the Fluentd Plugin Systemd"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Adds configurations and changes tasks to enable the"},{"line_number":10,"context_line":"systemd plugind. Additionaly, the plugin is set to"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"0eefa8ac_47b52b88","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":7},"updated":"2023-08-04 14:25:29.000000000","message":"enable","commit_id":"8dab427db247113eb347e7079fde3bf55b09289d"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"18d00d42fea4ac4e25ac1677277def266b640703","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Matthew Heler \u003cmatthew.heler@hotmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2023-07-27 18:38:31 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Enables the Fluentd Plugin Systemd"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Adds configurations and changes tasks to enable the"},{"line_number":10,"context_line":"systemd plugind. Additionaly, the plugin is set to"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"162c8411_d9c4b725","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":7},"in_reply_to":"0eefa8ac_47b52b88","updated":"2023-08-21 14:22:32.000000000","message":"Done","commit_id":"8dab427db247113eb347e7079fde3bf55b09289d"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"0fdd7101713a0519a9d8075a78be7667be57dfb7","unresolved":true,"context_lines":[{"line_number":7,"context_line":"Enables the Fluentd Plugin Systemd"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Adds configurations and changes tasks to enable the"},{"line_number":10,"context_line":"systemd plugind. Additionaly, the plugin is set to"},{"line_number":11,"context_line":"read logs from the /var/log/journal directory"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Implements: enable-fluent-plugin-systemd"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"c76fded7_00374dad","line":10,"updated":"2023-08-04 14:25:29.000000000","message":"plugin","commit_id":"8dab427db247113eb347e7079fde3bf55b09289d"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"18d00d42fea4ac4e25ac1677277def266b640703","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Enables the Fluentd Plugin Systemd"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Adds configurations and changes tasks to enable the"},{"line_number":10,"context_line":"systemd plugind. Additionaly, the plugin is set to"},{"line_number":11,"context_line":"read logs from the /var/log/journal directory"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Implements: enable-fluent-plugin-systemd"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"ca3a30da_ecb902c6","line":10,"in_reply_to":"c76fded7_00374dad","updated":"2023-08-21 14:22:32.000000000","message":"Done","commit_id":"8dab427db247113eb347e7079fde3bf55b09289d"}],"/PATCHSET_LEVEL":[{"author":{"_account_id":17669,"name":"Doug Szumski","email":"doug@stackhpc.com","username":"DougSzumski"},"change_message_id":"ab4e1d0e9606a7620d8465e776c28f84c87cb304","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"2e851b08_04d811c7","updated":"2023-03-27 13:00:34.000000000","message":"Good effort, thanks for sharing this!","commit_id":"9119fe879c8e687885014d1cbc2743c6d743477a"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"0fdd7101713a0519a9d8075a78be7667be57dfb7","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"7abbd67c_122bb912","updated":"2023-08-04 14:25:29.000000000","message":"nice, but maybe link to the upstream in the release notes and say some words what this is good for? 😊\n\nI think this is it? https://github.com/fluent-plugin-systemd/fluent-plugin-systemd","commit_id":"8dab427db247113eb347e7079fde3bf55b09289d"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"687e68742af1370597ffc31a2bf0e4920f7469cb","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":7,"id":"ffa3954c_8235f0d3","updated":"2023-08-25 11:20:24.000000000","message":"I believe this should be opt-in - operators usually have those logs gathered using different means","commit_id":"d85117ea0ac301a75c879c455e96a018148d5c80"},{"author":{"_account_id":17669,"name":"Doug Szumski","email":"doug@stackhpc.com","username":"DougSzumski"},"change_message_id":"0dfc8a5fd38510b13d362d21a3dbe8049912bc37","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"f40556af_334bf824","updated":"2023-08-21 15:01:32.000000000","message":"Thanks for updating. I think we\u0027ll need some fine tuning, but it\u0027s certainly a good step forwards.\n\nOne example of fine tuning (which we could follow up in a separate change) is duplication of logs in a minority of cases. For example, OpenSearch currently logs to both the journal and a log file. I.e. `journalctl -u kolla-opensearch-container` contains output matching \n`/var/log/kolla/opensearch/kolla_logging.log`.","commit_id":"d85117ea0ac301a75c879c455e96a018148d5c80"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"234f9ba72efc4f0baf524f9af5c22a505f88be64","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"fb684fed_a2353457","in_reply_to":"cbf60153_c08ece1b","updated":"2023-11-15 17:56:23.000000000","message":"this was implemented, marking as resolved.","commit_id":"d85117ea0ac301a75c879c455e96a018148d5c80"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"0cb7d9d26c76317111bf56f75d6b6ba588e3044b","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":7,"id":"cbf60153_c08ece1b","in_reply_to":"e370f0b4_1c09c3c8","updated":"2023-08-29 18:55:59.000000000","message":"Seems good to me, lets see what Michal thinks before trying to apply the change.","commit_id":"d85117ea0ac301a75c879c455e96a018148d5c80"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"174262ba95d37aa376a837bbed607d5c9557823a","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":7,"id":"e370f0b4_1c09c3c8","in_reply_to":"ffa3954c_8235f0d3","updated":"2023-08-28 07:45:02.000000000","message":"I\u0027d vouch to make this dependent on the already established variable `enable_central_logging`, which defaults to \"no\".\n\nDoes that make sense?","commit_id":"d85117ea0ac301a75c879c455e96a018148d5c80"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"e728ba426ca1e86139765f86650dd9b7eb74a01e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"ca550893_ecf417eb","updated":"2023-09-29 17:52:15.000000000","message":"Applied changes:\n  - Added new variable to enable systemd plugin\n  - Variable defaults to `enable_central_logging`","commit_id":"c7e61452facfef95843c5776d601e1e735b901ba"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"265e2b7eb73d5ee6f5587a737b6877b579a62261","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":9,"id":"9fdc70a5_d083b428","updated":"2023-10-04 13:35:49.000000000","message":"Add a section in central logging guide that we collect those logs by default and how to disable it please.","commit_id":"73cd266a5658d20d68e5d971e3b3f095b962a7e1"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"4a35af048a03b358d3b8af1bcc3d530b7ce13cbf","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":9,"id":"306235d7_5138f46c","in_reply_to":"39acbd11_f6e51bf3","updated":"2023-10-11 13:12:27.000000000","message":"Done","commit_id":"73cd266a5658d20d68e5d971e3b3f095b962a7e1"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"b1238c6593a986dcdf8b7d92f9b0eb099a52f479","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":9,"id":"39acbd11_f6e51bf3","in_reply_to":"9fdc70a5_d083b428","updated":"2023-10-04 13:42:16.000000000","message":"why is this resolved? I don\u0027t see this addressed?","commit_id":"73cd266a5658d20d68e5d971e3b3f095b962a7e1"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"4a35af048a03b358d3b8af1bcc3d530b7ce13cbf","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":10,"id":"ebd20a42_285bdba9","updated":"2023-10-11 13:12:27.000000000","message":"Applied requested changes","commit_id":"9d6679b4ea2e127fa7887e630ceb10c975864dc3"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"feba8f05573de3b4953dcf2ec7c5f08abf67dcdd","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":10,"id":"4e3d7d30_24a6bae6","updated":"2023-10-12 09:47:41.000000000","message":"the rest LGTM 😊","commit_id":"9d6679b4ea2e127fa7887e630ceb10c975864dc3"},{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"a4e884c4209b154ad2c69bfb9608f428b399e193","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":12,"id":"5fc16a34_68ff8760","updated":"2023-11-15 13:27:15.000000000","message":"merge conflict, please rebase","commit_id":"53aae7fc84b7fa37ef3a4276bde3a51331e2b254"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"b1983aaf980fafb2f9f87c449e6a6de355c71921","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":12,"id":"ed3bea27_4de6b32e","in_reply_to":"5fc16a34_68ff8760","updated":"2023-11-15 17:51:12.000000000","message":"Done","commit_id":"53aae7fc84b7fa37ef3a4276bde3a51331e2b254"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"209b37e65d343a895a94335b9009406c812824c6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":13,"id":"f2bc41b7_ede19607","updated":"2023-11-22 13:30:35.000000000","message":"recheck","commit_id":"31826809e8644f9fc0b029df688ca83c8026f503"}],"ansible/group_vars/all.yml":[{"author":{"_account_id":14200,"name":"Maksim Malchuk","email":"maksim.malchuk@gmail.com","username":"mmalchuk"},"change_message_id":"af3af698d4cf3ac1e6bb6bc40eb565e5b535f3cb","unresolved":true,"context_lines":[{"line_number":770,"context_line":"enable_designate: \"no\""},{"line_number":771,"context_line":"enable_etcd: \"no\""},{"line_number":772,"context_line":"enable_fluentd: \"yes\""},{"line_number":773,"context_line":"enable_fluentd_systemd: \"{{ enable_central_logging | bool }}\""},{"line_number":774,"context_line":"enable_freezer: \"no\""},{"line_number":775,"context_line":"enable_gnocchi: \"no\""},{"line_number":776,"context_line":"enable_gnocchi_statsd: \"no\""}],"source_content_type":"text/x-yaml","patch_set":11,"id":"82834614_34f50fd7","line":773,"range":{"start_line":773,"start_character":25,"end_line":773,"end_character":60},"updated":"2023-10-18 06:45:52.000000000","message":"{{ (enable_fluentd | bool) and (enable_central_logging | bool) }}","commit_id":"221b2168b1909aecc65835ec7506f40c048860aa"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"43e7141688c327f2cad177b7320b8c37e01d50dd","unresolved":false,"context_lines":[{"line_number":770,"context_line":"enable_designate: \"no\""},{"line_number":771,"context_line":"enable_etcd: \"no\""},{"line_number":772,"context_line":"enable_fluentd: \"yes\""},{"line_number":773,"context_line":"enable_fluentd_systemd: \"{{ enable_central_logging | bool }}\""},{"line_number":774,"context_line":"enable_freezer: \"no\""},{"line_number":775,"context_line":"enable_gnocchi: \"no\""},{"line_number":776,"context_line":"enable_gnocchi_statsd: \"no\""}],"source_content_type":"text/x-yaml","patch_set":11,"id":"d68a5413_b7312d55","line":773,"range":{"start_line":773,"start_character":25,"end_line":773,"end_character":60},"in_reply_to":"82834614_34f50fd7","updated":"2023-10-18 13:04:45.000000000","message":"Done","commit_id":"221b2168b1909aecc65835ec7506f40c048860aa"}],"ansible/roles/common/defaults/main.yml":[{"author":{"_account_id":17669,"name":"Doug Szumski","email":"doug@stackhpc.com","username":"DougSzumski"},"change_message_id":"ab4e1d0e9606a7620d8465e776c28f84c87cb304","unresolved":true,"context_lines":[{"line_number":122,"context_line":"  - \"{{ \u0027/etc/timezone:/etc/timezone:ro\u0027 if ansible_facts.os_family \u003d\u003d \u0027Debian\u0027 else \u0027\u0027 }}\""},{"line_number":123,"context_line":"  - \"kolla_logs:/var/log/kolla/\""},{"line_number":124,"context_line":"  - \"fluentd_data:/var/lib/fluentd/data/\""},{"line_number":125,"context_line":"  - \"/var/log/journal:/var/log/journal\""},{"line_number":126,"context_line":"kolla_toolbox_extra_volumes: \"{{ default_extra_volumes }}\""},{"line_number":127,"context_line":"cron_extra_volumes: \"{{ default_extra_volumes }}\""},{"line_number":128,"context_line":"fluentd_extra_volumes: \"{{ default_extra_volumes }}\""}],"source_content_type":"text/x-yaml","patch_set":3,"id":"a1bf103b_b3556477","line":125,"updated":"2023-03-27 13:00:34.000000000","message":"nit: can be read only. eg append `:ro`","commit_id":"9119fe879c8e687885014d1cbc2743c6d743477a"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"b037f1349d5cda651ded934cca19d5ada3c90120","unresolved":false,"context_lines":[{"line_number":122,"context_line":"  - \"{{ \u0027/etc/timezone:/etc/timezone:ro\u0027 if ansible_facts.os_family \u003d\u003d \u0027Debian\u0027 else \u0027\u0027 }}\""},{"line_number":123,"context_line":"  - \"kolla_logs:/var/log/kolla/\""},{"line_number":124,"context_line":"  - \"fluentd_data:/var/lib/fluentd/data/\""},{"line_number":125,"context_line":"  - \"/var/log/journal:/var/log/journal\""},{"line_number":126,"context_line":"kolla_toolbox_extra_volumes: \"{{ default_extra_volumes }}\""},{"line_number":127,"context_line":"cron_extra_volumes: \"{{ default_extra_volumes }}\""},{"line_number":128,"context_line":"fluentd_extra_volumes: \"{{ default_extra_volumes }}\""}],"source_content_type":"text/x-yaml","patch_set":3,"id":"00c6a7d1_6cab52fe","line":125,"in_reply_to":"a1bf103b_b3556477","updated":"2023-06-22 14:44:37.000000000","message":"Done","commit_id":"9119fe879c8e687885014d1cbc2743c6d743477a"}],"ansible/roles/common/templates/conf/input/11-systemd.conf.j2":[{"author":{"_account_id":17669,"name":"Doug Szumski","email":"doug@stackhpc.com","username":"DougSzumski"},"change_message_id":"ab4e1d0e9606a7620d8465e776c28f84c87cb304","unresolved":true,"context_lines":[{"line_number":1,"context_line":"\u003csource\u003e"},{"line_number":2,"context_line":"  @type systemd"},{"line_number":3,"context_line":"  tag journal"},{"line_number":4,"context_line":"  path /var/log/journal"},{"line_number":5,"context_line":"  \u003centry\u003e"},{"line_number":6,"context_line":"    fields_strip_underscores true"},{"line_number":7,"context_line":"    fields_lowercase true"}],"source_content_type":"text/x-jinja2","patch_set":3,"id":"228e13c2_cdeba132","line":4,"updated":"2023-03-27 13:00:34.000000000","message":"Do we need to ensure that systemd is configured to output to /var/log/journal?\n\nOn Rocky 9.0 I have no output in there. Perhaps we need to ensure we have `Storage\u003dauto` in `/etc/systemd/journald.conf`?","commit_id":"9119fe879c8e687885014d1cbc2743c6d743477a"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"1616b67fb201a9cc87ed56dd91e38234bd4acf1d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003csource\u003e"},{"line_number":2,"context_line":"  @type systemd"},{"line_number":3,"context_line":"  tag journal"},{"line_number":4,"context_line":"  path /var/log/journal"},{"line_number":5,"context_line":"  \u003centry\u003e"},{"line_number":6,"context_line":"    fields_strip_underscores true"},{"line_number":7,"context_line":"    fields_lowercase true"}],"source_content_type":"text/x-jinja2","patch_set":3,"id":"fc892a02_c1e219c1","line":4,"in_reply_to":"228e13c2_cdeba132","updated":"2023-06-22 14:41:56.000000000","message":"Done","commit_id":"9119fe879c8e687885014d1cbc2743c6d743477a"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"a72ed094317594137b201f6cd2739bd89d373567","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003csource\u003e"},{"line_number":2,"context_line":"  @type systemd"},{"line_number":3,"context_line":"  tag journal"},{"line_number":4,"context_line":"  path /var/log/journal"},{"line_number":5,"context_line":"  \u003centry\u003e"},{"line_number":6,"context_line":"    fields_strip_underscores true"},{"line_number":7,"context_line":"    fields_lowercase true"}],"source_content_type":"text/x-jinja2","patch_set":3,"id":"c6430e4d_db50be91","line":4,"in_reply_to":"600c34f5_3b5c6453","updated":"2023-06-22 14:52:28.000000000","message":"This is not configuring to output to /var/log/journal, rather, it configures /var/log/journal as a source (input) for fluentd.","commit_id":"9119fe879c8e687885014d1cbc2743c6d743477a"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"976262aa4c616b7e86f454e56a3773e554b93ba1","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003csource\u003e"},{"line_number":2,"context_line":"  @type systemd"},{"line_number":3,"context_line":"  tag journal"},{"line_number":4,"context_line":"  path /var/log/journal"},{"line_number":5,"context_line":"  \u003centry\u003e"},{"line_number":6,"context_line":"    fields_strip_underscores true"},{"line_number":7,"context_line":"    fields_lowercase true"}],"source_content_type":"text/x-jinja2","patch_set":3,"id":"23f426b3_52c281a3","line":4,"in_reply_to":"8194d92c_bb6b4abb","updated":"2023-08-08 07:26:29.000000000","message":"I just wanted to confirm this with upstream docs, here they are:\n\n\u003e The journal service stores log data either persistently below /var/log/journal or in a volatile way below /run/log/journal/ (in the latter case it is lost at reboot). By default, log data is stored persistently if /var/log/journal/ exists during boot, with an implicit fallback to volatile storage otherwise. Use Storage\u003d in journald.conf(5) to configure where log data is placed, independently of the existence of /var/log/journal/.\n\n\u003e Note that journald will initially use volatile storage, until a call to journalctl --flush (or sending SIGUSR1 to journald) will cause it to switch to persistent logging (under the conditions mentioned above). This is done automatically on boot via \"systemd-journal-flush.service\".\n\n\u003e On systems where /var/log/journal/ does not exist yet but where persistent logging is desired (and the default journald.conf is used), it is sufficient to create the directory, and ensure it has the correct access modes and ownership:\n\nmkdir -p /var/log/journal\nsystemd-tmpfiles --create --prefix /var/log/journal\n\nsource: https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html#Description\n\nlooking at the package in rocky linux 9:\n\nhttps://git.rockylinux.org/staging/rpms/systemd/-/tree/r9\n\nI can\u0027t find anything that seems to indicate that it deviates from upstream.\n\nHTH","commit_id":"9119fe879c8e687885014d1cbc2743c6d743477a"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"d23da2e44a9bafaa7fcf626fc1e40a84538c0861","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003csource\u003e"},{"line_number":2,"context_line":"  @type systemd"},{"line_number":3,"context_line":"  tag journal"},{"line_number":4,"context_line":"  path /var/log/journal"},{"line_number":5,"context_line":"  \u003centry\u003e"},{"line_number":6,"context_line":"    fields_strip_underscores true"},{"line_number":7,"context_line":"    fields_lowercase true"}],"source_content_type":"text/x-jinja2","patch_set":3,"id":"8194d92c_bb6b4abb","line":4,"in_reply_to":"9e31b8de_1f920059","updated":"2023-08-07 16:12:21.000000000","message":"I believe that systemd writes to that directory by default:\n\n```\nsystemd has its own logging system called the journal; running a separate logging daemon is not required. To read the log, use journalctl(1).\n\nIn Arch Linux, the directory /var/log/journal/ is a part of the systemd package, and the journal (when Storage\u003d is set to auto in /etc/systemd/journald.conf) will write to /var/log/journal/. If that directory is deleted, systemd will not recreate it automatically and instead will write its logs to /run/systemd/journal in a nonpersistent way. However, the directory will be recreated if Storage\u003dpersistent is added to journald.conf and systemd-journald.service is restarted (or the system is rebooted).\n```\n\nhttps://wiki.archlinux.org/title/Systemd/Journal","commit_id":"9119fe879c8e687885014d1cbc2743c6d743477a"},{"author":{"_account_id":17669,"name":"Doug Szumski","email":"doug@stackhpc.com","username":"DougSzumski"},"change_message_id":"bfb9eeb706d7b1bb1676731b3631e679295df728","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003csource\u003e"},{"line_number":2,"context_line":"  @type systemd"},{"line_number":3,"context_line":"  tag journal"},{"line_number":4,"context_line":"  path /var/log/journal"},{"line_number":5,"context_line":"  \u003centry\u003e"},{"line_number":6,"context_line":"    fields_strip_underscores true"},{"line_number":7,"context_line":"    fields_lowercase true"}],"source_content_type":"text/x-jinja2","patch_set":3,"id":"9e31b8de_1f920059","line":4,"in_reply_to":"c6430e4d_db50be91","updated":"2023-08-04 16:08:34.000000000","message":"What I mean is that we need to configure systemd to write logs to /var/log/journal, otherwise there is nothing to forward from that directory. At least on Rocky 9 it seems to be this way.","commit_id":"9119fe879c8e687885014d1cbc2743c6d743477a"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"b037f1349d5cda651ded934cca19d5ada3c90120","unresolved":true,"context_lines":[{"line_number":1,"context_line":"\u003csource\u003e"},{"line_number":2,"context_line":"  @type systemd"},{"line_number":3,"context_line":"  tag journal"},{"line_number":4,"context_line":"  path /var/log/journal"},{"line_number":5,"context_line":"  \u003centry\u003e"},{"line_number":6,"context_line":"    fields_strip_underscores true"},{"line_number":7,"context_line":"    fields_lowercase true"}],"source_content_type":"text/x-jinja2","patch_set":3,"id":"600c34f5_3b5c6453","line":4,"in_reply_to":"fc892a02_c1e219c1","updated":"2023-06-22 14:44:37.000000000","message":"Didn\u0027t mean to resolve this one.","commit_id":"9119fe879c8e687885014d1cbc2743c6d743477a"}],"ansible/roles/common/templates/fluentd.json.j2":[{"author":{"_account_id":17669,"name":"Doug Szumski","email":"doug@stackhpc.com","username":"DougSzumski"},"change_message_id":"ab4e1d0e9606a7620d8465e776c28f84c87cb304","unresolved":true,"context_lines":[{"line_number":33,"context_line":"        },"},{"line_number":34,"context_line":"        {"},{"line_number":35,"context_line":"            \"path\": \"/var/log/journal\","},{"line_number":36,"context_line":"            \"owner\": \"td-agent:td-agent\","},{"line_number":37,"context_line":"            \"recurse\": true"},{"line_number":38,"context_line":"        }"},{"line_number":39,"context_line":"    ]"}],"source_content_type":"text/x-jinja2","patch_set":3,"id":"2f4b2d3c_53f4fbf2","line":36,"updated":"2023-03-27 13:00:34.000000000","message":"nit: \"{{ fluentd_user }}:{{ fluentd_user }}\"","commit_id":"9119fe879c8e687885014d1cbc2743c6d743477a"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"1616b67fb201a9cc87ed56dd91e38234bd4acf1d","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        },"},{"line_number":34,"context_line":"        {"},{"line_number":35,"context_line":"            \"path\": \"/var/log/journal\","},{"line_number":36,"context_line":"            \"owner\": \"td-agent:td-agent\","},{"line_number":37,"context_line":"            \"recurse\": true"},{"line_number":38,"context_line":"        }"},{"line_number":39,"context_line":"    ]"}],"source_content_type":"text/x-jinja2","patch_set":3,"id":"316a90df_1c44785f","line":36,"in_reply_to":"2f4b2d3c_53f4fbf2","updated":"2023-06-22 14:41:56.000000000","message":"Done","commit_id":"9119fe879c8e687885014d1cbc2743c6d743477a"}],"etc/kolla/globals.yml":[{"author":{"_account_id":14200,"name":"Maksim Malchuk","email":"maksim.malchuk@gmail.com","username":"mmalchuk"},"change_message_id":"af3af698d4cf3ac1e6bb6bc40eb565e5b535f3cb","unresolved":true,"context_lines":[{"line_number":331,"context_line":"#enable_destroy_images: \"no\""},{"line_number":332,"context_line":"#enable_etcd: \"no\""},{"line_number":333,"context_line":"#enable_fluentd: \"yes\""},{"line_number":334,"context_line":"#enable_fluentd_systemd: \"{{ enable_central_logging | bool }}\""},{"line_number":335,"context_line":"#enable_freezer: \"no\""},{"line_number":336,"context_line":"#enable_gnocchi: \"no\""},{"line_number":337,"context_line":"#enable_gnocchi_statsd: \"no\""}],"source_content_type":"text/x-yaml","patch_set":11,"id":"dc201cfb_297e85c9","line":334,"range":{"start_line":334,"start_character":26,"end_line":334,"end_character":61},"updated":"2023-10-18 06:45:52.000000000","message":"ditto","commit_id":"221b2168b1909aecc65835ec7506f40c048860aa"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"43e7141688c327f2cad177b7320b8c37e01d50dd","unresolved":false,"context_lines":[{"line_number":331,"context_line":"#enable_destroy_images: \"no\""},{"line_number":332,"context_line":"#enable_etcd: \"no\""},{"line_number":333,"context_line":"#enable_fluentd: \"yes\""},{"line_number":334,"context_line":"#enable_fluentd_systemd: \"{{ enable_central_logging | bool }}\""},{"line_number":335,"context_line":"#enable_freezer: \"no\""},{"line_number":336,"context_line":"#enable_gnocchi: \"no\""},{"line_number":337,"context_line":"#enable_gnocchi_statsd: \"no\""}],"source_content_type":"text/x-yaml","patch_set":11,"id":"dabd8450_d3ad3262","line":334,"range":{"start_line":334,"start_character":26,"end_line":334,"end_character":61},"in_reply_to":"dc201cfb_297e85c9","updated":"2023-10-18 13:04:45.000000000","message":"Done","commit_id":"221b2168b1909aecc65835ec7506f40c048860aa"}],"releasenotes/notes/feature_enable-fluent-plugin-systemd-9326efac3a64fbfd.yaml":[{"author":{"_account_id":22629,"name":"Michal Nasiadka","email":"mnasiadka@gmail.com","username":"mnasiadka"},"change_message_id":"265e2b7eb73d5ee6f5587a737b6877b579a62261","unresolved":true,"context_lines":[{"line_number":6,"context_line":"    fluentd plugin, systemd, to read logs from /var/log/journal by"},{"line_number":7,"context_line":"    default. This allows us to read and manipulate this logs for"},{"line_number":8,"context_line":"    monitoring purposes."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"    fluent-plugin-systemd source:"},{"line_number":11,"context_line":"    https://github.com/fluent-plugin-systemd/fluent-plugin-systemd"},{"line_number":12,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":9,"id":"9b0153a9_1e05ed84","line":9,"updated":"2023-10-04 13:35:49.000000000","message":"Add a note that systemd logs will now end up in OpenSearch by default and if you don\u0027t want that - set this variable to false","commit_id":"73cd266a5658d20d68e5d971e3b3f095b962a7e1"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"4a35af048a03b358d3b8af1bcc3d530b7ce13cbf","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    fluentd plugin, systemd, to read logs from /var/log/journal by"},{"line_number":7,"context_line":"    default. This allows us to read and manipulate this logs for"},{"line_number":8,"context_line":"    monitoring purposes."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"    fluent-plugin-systemd source:"},{"line_number":11,"context_line":"    https://github.com/fluent-plugin-systemd/fluent-plugin-systemd"},{"line_number":12,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":9,"id":"dbaf07a6_50c87961","line":9,"in_reply_to":"9b0153a9_1e05ed84","updated":"2023-10-11 13:12:27.000000000","message":"Done","commit_id":"73cd266a5658d20d68e5d971e3b3f095b962a7e1"},{"author":{"_account_id":32553,"name":"Sven Kieske","email":"sven_oss@posteo.de","username":"skieske"},"change_message_id":"feba8f05573de3b4953dcf2ec7c5f08abf67dcdd","unresolved":true,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Implements [Enable Fluentd Plugin Systemd]."},{"line_number":5,"context_line":"    Adds the needed changes and configurations in order to use the"},{"line_number":6,"context_line":"    fluentd plugin, systemd, to read logs from /var/log/journal by"},{"line_number":7,"context_line":"    default. This allows us to read and manipulate this logs for"},{"line_number":8,"context_line":"    monitoring purposes."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"    These logs will be sent to OpenSearch by default, to disable this"},{"line_number":11,"context_line":"    behavior, set the value of the variable ``enable_fluentd_systemd``"},{"line_number":12,"context_line":"    to ``false`` in the configuration file ``/etc/kolla/globals.yml``."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"    fluent-plugin-systemd source:"},{"line_number":15,"context_line":"    https://github.com/fluent-plugin-systemd/fluent-plugin-systemd"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"    `Blueprint enable-fluent-plugin-systemd"},{"line_number":18,"context_line":"    \u003chttps://blueprints.launchpad.net/kolla-ansible/+spec/enable-fluent-plugin-systemd\u003e`__"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"95f41ec9_e6a2ad09","line":18,"range":{"start_line":2,"start_character":0,"end_line":18,"end_character":90},"updated":"2023-10-12 09:47:41.000000000","message":"the release notes should imho either link to the new central logging docs or at least mention that this feature get\u0027s automatically enabled when enabling central logging.\n\nmost users will check release notes on upgrades, but I doubt they will check the whole kolla docs for updates, so this would be very helpful, thanks.","commit_id":"9d6679b4ea2e127fa7887e630ceb10c975864dc3"},{"author":{"_account_id":34579,"name":"Juan Pablo Suazo","email":"jsuazo@whitestack.com","username":"jsuazo"},"change_message_id":"dd27b9bef105cd9ed1b1a3643882e27992077b71","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Implements [Enable Fluentd Plugin Systemd]."},{"line_number":5,"context_line":"    Adds the needed changes and configurations in order to use the"},{"line_number":6,"context_line":"    fluentd plugin, systemd, to read logs from /var/log/journal by"},{"line_number":7,"context_line":"    default. This allows us to read and manipulate this logs for"},{"line_number":8,"context_line":"    monitoring purposes."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"    These logs will be sent to OpenSearch by default, to disable this"},{"line_number":11,"context_line":"    behavior, set the value of the variable ``enable_fluentd_systemd``"},{"line_number":12,"context_line":"    to ``false`` in the configuration file ``/etc/kolla/globals.yml``."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"    fluent-plugin-systemd source:"},{"line_number":15,"context_line":"    https://github.com/fluent-plugin-systemd/fluent-plugin-systemd"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"    `Blueprint enable-fluent-plugin-systemd"},{"line_number":18,"context_line":"    \u003chttps://blueprints.launchpad.net/kolla-ansible/+spec/enable-fluent-plugin-systemd\u003e`__"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"782168f6_fc214ffb","line":18,"range":{"start_line":2,"start_character":0,"end_line":18,"end_character":90},"in_reply_to":"95f41ec9_e6a2ad09","updated":"2023-10-17 20:48:56.000000000","message":"Done","commit_id":"9d6679b4ea2e127fa7887e630ceb10c975864dc3"}]}
