|
| 1 | +--- |
| 2 | +title: "This's a self made tools testing page" |
| 3 | +short_title: "Self made tools testing" |
| 4 | +id: doc-testing-page |
| 5 | +subtitle: >- |
| 6 | + Description\subtitle is now not different than the normal, documentation body markdown texts.<br> |
| 7 | + It can contain ', and other special characters ()[].*?+^$, etc., though some of them might require escaping, e.g. \\ or \|<br> |
| 8 | + Mentioning documentation sections (markdown ##, or HTML <h 1-6> headings) via the exact section title text should work normally, like |
| 9 | + Slack destination options, but the linking can be forced as well via our custom markdown [[[[Timezones and daylight saving]]]] format.<br> |
| 10 | + Linking also could work with our {% include markdown_link id='doc-own-tools' title='markdown_link liquid include' withTooltip='yes' %}.<br> |
| 11 | + One more [[destination|adm-about-glossary#bom]] id=adm-about-glossary#bom override test from subtutle.<br> |
| 12 | + Macros test ${HOST}). |
| 13 | +search: false |
| 14 | +--- |
| 15 | + |
| 16 | +## Tests go here |
| 17 | + |
| 18 | +**INFO:** \{: .notice--info\} Test \ |
| 19 | +any modifications or changes, use the **flags(no-parse)** option in the |
| 20 | +source definition, and a template containing only the **${MESSAGE}** |
| 21 | +macro in the destination definition. |
| 22 | +{: .notice--info} |
| 23 | + |
| 24 | +To parse non-syslog messages, for example, JSON, CSV, or other messages, |
| 25 | +you can use the built-in parsers of syslog-ng OSE. For details, see |
| 26 | +[[parser: Parse and segment structured messages]]. |
| 27 | + |
| 28 | +`multi line backticked |
| 29 | +text` |
| 30 | + |
| 31 | +Soft macros (sometimes also called name-value pairs) are either |
| 32 | +built-in macros automatically generated from the log message (for |
| 33 | +example, ${HOST}), or custom user-created macros generated by using |
| 34 | +the syslog-ng pattern database or a CSV-parser. The SDATA fields of |
| 35 | +RFC5424-formatted log messages become soft macros as well. In |
| 36 | +contrast with hard macros, soft macros are writable and can be |
| 37 | +modified within syslog-ng OSE, for example, using rewrite rules. |
| 38 | + |
| 39 | +**WARNING:** \{: .notice--warning\} Test \ |
| 40 | +for the list of hard and soft macros, see [[Hard versus soft macros]]. |
| 41 | +{: .notice--warning} |
| 42 | + |
| 43 | +**DANGER:** \{: .notice--danger\} Test \ |
| 44 | +at the location it reaches the log-msg-size() value, and discards the rest of the message. |
| 45 | +{: .notice--danger} |
| 46 | + |
| 47 | +**Code block example:** |
| 48 | + |
| 49 | +```config |
| 50 | +options { |
| 51 | + stats( |
| 52 | + freq(1) |
| 53 | + level(1) |
| 54 | + lifetime(1000) |
| 55 | + max-dynamics(10000) |
| 56 | + syslog-stats(yes) |
| 57 | + stats() |
| 58 | + ); |
| 59 | +}; |
| 60 | +``` |
| 61 | + |
| 62 | +--------------------- |
| 63 | + |
| 64 | +Introduction to syslog-ng is a test for pages without description/subtitle, but text part between the title and the first heading which can have tooltips too this way. |
| 65 | + |
| 66 | +Developer guide is a double (page title amd section heading) example with a description/subtitle. |
| 67 | + |
| 68 | +[[Installing syslog-ng|adm-install]] is a forced, (also a doubled) page link title example with a description/subtitle. |
| 69 | + |
| 70 | +[[Self page link|doc-testing-page]] test. |
| 71 | + |
| 72 | +The severity of the message. `time-zone()` teszt |
| 73 | + |
| 74 | +parser: Parse and segment structured messages |
| 75 | + |
| 76 | +`parser: Parse and segment structured messages` |
| 77 | + |
| 78 | +discord Sending alerts and notifications to Discord |
| 79 | + |
| 80 | +`discord Sending alerts and notifications to Discord` |
| 81 | + |
| 82 | +Timezones and daylight saving |
| 83 | + |
| 84 | +`Timezones and daylight saving` |
| 85 | + |
| 86 | +Slack destination options |
| 87 | + |
| 88 | +[[Slack destination options]] |
| 89 | + |
| 90 | +`Slack destination options` |
| 91 | + |
| 92 | +Slack :destination options |
| 93 | + |
| 94 | +Slack 'destination' options |
| 95 | + |
| 96 | +`Options of the mqtt() destination` |
| 97 | + |
| 98 | +[Parse bar] |
| 99 | + |
| 100 | +Alma [[parser]] korte |
| 101 | + |
| 102 | +[[destination]] |
| 103 | + |
| 104 | +[[destination id=bom|adm-about-glossary#bom]] |
| 105 | + |
| 106 | +[[destination|adm-about-glossary#bom]] id=bom |
| 107 | + |
| 108 | +[[destination||]] |
| 109 | + |
| 110 | +[destination|] |
| 111 | + |
| 112 | +destination| |
| 113 | + |
| 114 | +[destination] |
| 115 | + |
| 116 | +<a href="/admin-guide/200_About/002_Glossary#destination" class="nav-link content-tooltip">that is a direct, html link destination test</a> |
| 117 | + |
| 118 | +[[another destination|adm-about-glossary#destination]] test |
| 119 | + |
| 120 | +{% include markdown_link id='adm-about-glossary#destination' title='destination apostroph' withTooltip='yes' %} |
| 121 | + |
| 122 | +{% include markdown_link id="adm-about-glossary#destination" title="destination quote" withTooltip="yes" %} |
| 123 | + |
| 124 | +message |
| 125 | + |
| 126 | +[[message]] |
| 127 | + |
| 128 | +Options is an excluded word. |
| 129 | + |
| 130 | +For more information, see |
| 131 | +[[Options of the kafka() destination's C implementation]]. |
| 132 | + |
| 133 | +For details, see [[The syslog-ng.conf manual page]]. |
| 134 | + |
| 135 | +## See also |
| 136 | + |
| 137 | +[[The syslog-ng.conf manual page]] |
| 138 | + |
| 139 | +[[The syslog-ng manual page]] |
| 140 | + |
| 141 | +Here comes an include doc/admin-guide/manpages-footnote.md test |
| 142 | +{% include doc/admin-guide/manpages-footnote.md %} |
| 143 | + |
| 144 | +When encoding is set in a source (using the encoding() option) and the |
| 145 | +message is longer (in bytes) than log-msg-size() in UTF-8 |
| 146 | +representation, syslog-ng OSE splits the message at an undefined |
| 147 | +location (because the conversion between different encodings is not |
| 148 | +trivial). |
| 149 | + |
| 150 | +The following is a simple configuration file for syslog-ng Open |
| 151 | +Source Edition that collects incoming log messages and stores them |
| 152 | +in a text file. syslog-ng Open Source Edition. |
| 153 | + |
| 154 | +Aliast testing e.g ${LEVEL} or ${PRIORITY} should work like ${SDATA} |
0 commit comments