From 984cb622b7b2afb75d98a660072241e89fedfd5d Mon Sep 17 00:00:00 2001 From: Heitor Pascoal de Bittencourt Date: Thu, 16 Sep 2021 15:23:27 -0300 Subject: [PATCH] add design guide --- design.md | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 design.md diff --git a/design.md b/design.md new file mode 100644 index 0000000..f554914 --- /dev/null +++ b/design.md @@ -0,0 +1,115 @@ +# Design considerations + +## Configuration + +Configuration must encode inputs, filters, parsers, and outputs. Examples: + +```bash +# td-agent-bit.conf +[INPUT] + name tail + path /var/log/slurm/slurmd.log + path_key filename + tag slurmd + parser slurm + +[OUTPUT] + Name gelf + Match slurmd + Host 10.220.130.119 + Port 12201 + Mode udp + Gelf_Short_Message_Key message + +[PARSER] + Name slurm + Format regex + Regex ^\[(?