Check-in [582b0b80fb]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Typos fixed in logfmt1 docs |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
582b0b80fbf148ae3e88768a88a6dc73 |
User & Date: | mario 2021-01-01 20:59:39 |
Context
2021-01-01
| ||
21:00 | Converted project wiki to yelp pages. (subproject: html2mallard) check-in: 273feaca8c user: mario tags: trunk | |
20:59 | Typos fixed in logfmt1 docs check-in: 582b0b80fb user: mario tags: trunk | |
2020-12-30
| ||
22:54 | logfmt1 manual changes check-in: 9a5ae7b93b user: mario tags: trunk | |
Changes
Changes to logfmt1/docs/index.md.
1 2 3 4 5 6 7 8 9 10 11 | # logfmt1 **logfmt1** is an implementation and scheme for generic log parsing. It prescribes a [.fmt](log.fmt.md) descriptor adjacent to each log file. And a global database to resolve format string %placeholder%s and turn them into regular expressions. ## Overview * A [.log.fmt](log.fmt.md) for each log file * [logopen()](logopen.md) | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # logfmt1 **logfmt1** is an implementation and scheme for generic log parsing. It prescribes a [.fmt](log.fmt.md) descriptor adjacent to each log file. And a global database to resolve format string %placeholder%s and turn them into regular expressions. ## Overview * A [.log.fmt](log.fmt.md) for each log file * [logopen()](logopen.md) * [update() and regex()](regex.md) * Field [.fmt definitions](fmt.md) in `/usr/share/logfmt` * [update-logfmt](update-logfmt.md) to create *.log.fmt files (for Apache, Nginx, some static logs) ## Sample .log.fmt Currently the format for a *.log.fmt descriptor is: |
︙ | ︙ |
Added logfmt1/docs/syntax.css.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | pre { line-height: 125%; margin: 0; } td.linenos pre { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; } span.linenos { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; } td.linenos pre.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } .hll { background-color: #ffffcc } .c { color: #888888 } /* Comment */ .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .k { color: #008800; font-weight: bold } /* Keyword */ .ch { color: #888888 } /* Comment.Hashbang */ .cm { color: #888888 } /* Comment.Multiline */ .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .cpf { color: #888888 } /* Comment.PreprocFile */ .c1 { color: #888888 } /* Comment.Single */ .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .ge { font-style: italic } /* Generic.Emph */ .gr { color: #aa0000 } /* Generic.Error */ .gh { color: #333333 } /* Generic.Heading */ .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .go { color: #888888 } /* Generic.Output */ .gp { color: #555555 } /* Generic.Prompt */ .gs { font-weight: bold } /* Generic.Strong */ .gu { color: #666666 } /* Generic.Subheading */ .gt { color: #aa0000 } /* Generic.Traceback */ .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .kp { color: #008800 } /* Keyword.Pseudo */ .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .na { color: #336699 } /* Name.Attribute */ .nb { color: #003388 } /* Name.Builtin */ .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .no { color: #003366; font-weight: bold } /* Name.Constant */ .nd { color: #555555 } /* Name.Decorator */ .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .nl { color: #336699; font-style: italic } /* Name.Label */ .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .py { color: #336699; font-weight: bold } /* Name.Property */ .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .nv { color: #336699 } /* Name.Variable */ .ow { color: #008800 } /* Operator.Word */ .w { color: #bbbbbb } /* Text.Whitespace */ .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .bp { color: #003388 } /* Name.Builtin.Pseudo */ .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .vc { color: #336699 } /* Name.Variable.Class */ .vg { color: #dd7700 } /* Name.Variable.Global */ .vi { color: #3333bb } /* Name.Variable.Instance */ .vm { color: #336699 } /* Name.Variable.Magic */ .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ |
Changes to logfmt1/html/404.html.
︙ | ︙ | |||
32 33 34 35 36 37 38 | <div class="wy-side-nav-search"> <a href="/." class="icon icon-home"> logfmt1</a> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul> | | | | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | <div class="wy-side-nav-search"> <a href="/." class="icon icon-home"> logfmt1</a> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul> <li class="toctree-l1"><a class="reference internal" href="/index.html">Intro</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="/log.fmt.html">.log.fmt</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="/logopen.html">logopen()</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="/regex.html">regex()</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="/fmt.html">global .fmt db</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="/update-logfmt.html">update-logfmt</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="/logex.html">logex</a> </li> </ul> </div> |
︙ | ︙ |
Changes to logfmt1/html/css/theme.css.
cannot compute difference between binary files
Changes to logfmt1/html/fmt.html.
︙ | ︙ | |||
39 40 41 42 43 44 45 | <div class="wy-side-nav-search"> <a href="." class="icon icon-home"> logfmt1</a> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul> | | | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | <div class="wy-side-nav-search"> <a href="." class="icon icon-home"> logfmt1</a> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul> <li class="toctree-l1"><a class="reference internal" href="index.html">Intro</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="log.fmt.html">.log.fmt</a> </li> </ul> <ul> |
︙ | ︙ | |||
93 94 95 96 97 98 99 | </li> </ul> </li> </ul> </li> </ul> <ul> | | | 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | </li> </ul> </li> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="update-logfmt.html">update-logfmt</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="logex.html">logex</a> </li> </ul> </div> |
︙ | ︙ | |||
419 420 421 422 423 424 425 | </div> </div> <footer> <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> | | | 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 | </div> </div> <footer> <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> <a href="update-logfmt.html" class="btn btn-neutral float-right" title="update-logfmt">Next <span class="icon icon-circle-arrow-right"></span></a> <a href="regex.html" class="btn btn-neutral" title="regex()"><span class="icon icon-circle-arrow-left"></span> Previous</a> </div> |
︙ | ︙ |
Changes to logfmt1/html/index.html.
1 2 3 4 5 6 7 8 9 10 11 | <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut icon" href="img/favicon.ico"> | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut icon" href="img/favicon.ico"> <title>Intro - logfmt1</title> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700" /> <link rel="stylesheet" href="css/theme.css" /> <link rel="stylesheet" href="css/theme_extra.css" /> <link href="custom.css" rel="stylesheet" /> <link href="syntax.css" rel="stylesheet" /> <script> // Current page data var mkdocs_page_name = "Intro"; var mkdocs_page_input_path = "index.md"; var mkdocs_page_url = null; </script> <script src="js/jquery-2.1.1.min.js" defer></script> <script src="js/modernizr-2.8.3.min.js" defer></script> |
︙ | ︙ | |||
39 40 41 42 43 44 45 | <div class="wy-side-nav-search"> <a href="." class="icon icon-home"> logfmt1</a> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul class="current"> | | | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | <div class="wy-side-nav-search"> <a href="." class="icon icon-home"> logfmt1</a> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul class="current"> <li class="toctree-l1 current"><a class="reference internal current" href="index.html">Intro</a> <ul class="current"> <li class="toctree-l2"><a class="reference internal" href="#overview">Overview</a> </li> <li class="toctree-l2"><a class="reference internal" href="#sample-logfmt">Sample .log.fmt</a> </li> <li class="toctree-l2"><a class="reference internal" href="#usage">Usage</a> </li> |
︙ | ︙ | |||
69 70 71 72 73 74 75 | </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="fmt.html">global .fmt db</a> </li> </ul> <ul> | | | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="fmt.html">global .fmt db</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="update-logfmt.html">update-logfmt</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="logex.html">logex</a> </li> </ul> </div> |
︙ | ︙ | |||
97 98 99 100 101 102 103 | <div class="rst-content"> <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs"> <li><a href=".">Docs</a> »</li> | | | | 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | <div class="rst-content"> <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs"> <li><a href=".">Docs</a> »</li> <li>Intro</li> <li class="wy-breadcrumbs-aside"> </li> </ul> <hr/> </div> <div role="main"> <div class="section"> <h1 id="logfmt1">logfmt1</h1> <p><strong>logfmt1</strong> is an implementation and scheme for generic log parsing. It prescribes a <a href="log.fmt.html">.fmt</a> descriptor adjacent to each log file. And a global database to resolve format string %placeholder%s and turn them into regular expressions.</p> <h2 id="overview">Overview</h2> <ul> <li>A <a href="log.fmt.html">.log.fmt</a> for each log file</li> <li><a href="logopen.html">logopen()</a></li> <li><a href="regex.html">update() and regex()</a></li> <li>Field <a href="fmt.html">.fmt definitions</a> in <code>/usr/share/logfmt</code></li> <li><a href="update-logfmt.html">update-logfmt</a> to create *.log.fmt files (for Apache, Nginx, some static logs)</li> </ul> <h2 id="sample-logfmt">Sample .log.fmt</h2> <p>Currently the format for a *.log.fmt descriptor is:</p> <div class="highlight"><pre><span></span><code><span class="p">{</span> <span class="nt">"class"</span><span class="p">:</span> <span class="s2">"apache custom2"</span><span class="p">,</span> |
︙ | ︙ |
Changes to logfmt1/html/log.fmt.html.
︙ | ︙ | |||
39 40 41 42 43 44 45 | <div class="wy-side-nav-search"> <a href="." class="icon icon-home"> logfmt1</a> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul> | | | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | <div class="wy-side-nav-search"> <a href="." class="icon icon-home"> logfmt1</a> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul> <li class="toctree-l1"><a class="reference internal" href="index.html">Intro</a> </li> </ul> <ul class="current"> <li class="toctree-l1 current"><a class="reference internal current" href="log.fmt.html">.log.fmt</a> <ul class="current"> <li class="toctree-l2"><a class="reference internal" href="#common-classes">common classes</a> </li> |
︙ | ︙ | |||
67 68 69 70 71 72 73 | </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="fmt.html">global .fmt db</a> </li> </ul> <ul> | | | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="fmt.html">global .fmt db</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="update-logfmt.html">update-logfmt</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="logex.html">logex</a> </li> </ul> </div> |
︙ | ︙ | |||
188 189 190 191 192 193 194 | <footer> <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> <a href="logopen.html" class="btn btn-neutral float-right" title="logopen()">Next <span class="icon icon-circle-arrow-right"></span></a> | | | 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | <footer> <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> <a href="logopen.html" class="btn btn-neutral float-right" title="logopen()">Next <span class="icon icon-circle-arrow-right"></span></a> <a href="index.html" class="btn btn-neutral" title="Intro"><span class="icon icon-circle-arrow-left"></span> Previous</a> </div> <hr/> <div role="contentinfo"> |
︙ | ︙ |
Changes to logfmt1/html/logex.html.
︙ | ︙ | |||
39 40 41 42 43 44 45 | <div class="wy-side-nav-search"> <a href="." class="icon icon-home"> logfmt1</a> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul> | | | | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | <div class="wy-side-nav-search"> <a href="." class="icon icon-home"> logfmt1</a> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul> <li class="toctree-l1"><a class="reference internal" href="index.html">Intro</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="log.fmt.html">.log.fmt</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="logopen.html">logopen()</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="regex.html">regex()</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="fmt.html">global .fmt db</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="update-logfmt.html">update-logfmt</a> </li> </ul> <ul class="current"> <li class="toctree-l1 current"><a class="reference internal current" href="logex.html">logex</a> <ul class="current"> </ul> </li> |
︙ | ︙ | |||
195 196 197 198 199 200 201 | </div> </div> <footer> <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> | | | 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 | </div> </div> <footer> <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> <a href="update-logfmt.html" class="btn btn-neutral" title="update-logfmt"><span class="icon icon-circle-arrow-left"></span> Previous</a> </div> <hr/> <div role="contentinfo"> |
︙ | ︙ |
Changes to logfmt1/html/logopen.html.
︙ | ︙ | |||
39 40 41 42 43 44 45 | <div class="wy-side-nav-search"> <a href="." class="icon icon-home"> logfmt1</a> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul> | | | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | <div class="wy-side-nav-search"> <a href="." class="icon icon-home"> logfmt1</a> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul> <li class="toctree-l1"><a class="reference internal" href="index.html">Intro</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="log.fmt.html">.log.fmt</a> </li> </ul> <ul class="current"> |
︙ | ︙ | |||
61 62 63 64 65 66 67 | </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="fmt.html">global .fmt db</a> </li> </ul> <ul> | | | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="fmt.html">global .fmt db</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="update-logfmt.html">update-logfmt</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="logex.html">logex</a> </li> </ul> </div> |
︙ | ︙ |
Changes to logfmt1/html/regex.html.
︙ | ︙ | |||
27 28 29 30 31 32 33 | <nav class="wy-nav-side stickynav" data-toggle="wy-nav-shift"> <div class="wy-side-scroll"> <div class="wy-side-nav-search"> <a class="icon icon-home" href="."> logfmt1</a> </div> <div aria-label="main navigation" class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation"> <ul> | | | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | <nav class="wy-nav-side stickynav" data-toggle="wy-nav-shift"> <div class="wy-side-scroll"> <div class="wy-side-nav-search"> <a class="icon icon-home" href="."> logfmt1</a> </div> <div aria-label="main navigation" class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation"> <ul> <li class="toctree-l1"><a class="reference internal" href="index.html">Intro</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="log.fmt.html">.log.fmt</a> </li> </ul> <ul> |
︙ | ︙ | |||
49 50 51 52 53 54 55 | </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="fmt.html">global .fmt db</a> </li> </ul> <ul> | | | 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="fmt.html">global .fmt db</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="update-logfmt.html">update-logfmt</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="logex.html">logex</a> </li> </ul> </div> |
︙ | ︙ |
Added logfmt1/html/syntax.css.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | pre { line-height: 125%; margin: 0; } td.linenos pre { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; } span.linenos { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; } td.linenos pre.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } .hll { background-color: #ffffcc } .c { color: #888888 } /* Comment */ .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .k { color: #008800; font-weight: bold } /* Keyword */ .ch { color: #888888 } /* Comment.Hashbang */ .cm { color: #888888 } /* Comment.Multiline */ .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .cpf { color: #888888 } /* Comment.PreprocFile */ .c1 { color: #888888 } /* Comment.Single */ .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .ge { font-style: italic } /* Generic.Emph */ .gr { color: #aa0000 } /* Generic.Error */ .gh { color: #333333 } /* Generic.Heading */ .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .go { color: #888888 } /* Generic.Output */ .gp { color: #555555 } /* Generic.Prompt */ .gs { font-weight: bold } /* Generic.Strong */ .gu { color: #666666 } /* Generic.Subheading */ .gt { color: #aa0000 } /* Generic.Traceback */ .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .kp { color: #008800 } /* Keyword.Pseudo */ .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .na { color: #336699 } /* Name.Attribute */ .nb { color: #003388 } /* Name.Builtin */ .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .no { color: #003366; font-weight: bold } /* Name.Constant */ .nd { color: #555555 } /* Name.Decorator */ .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .nl { color: #336699; font-style: italic } /* Name.Label */ .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .py { color: #336699; font-weight: bold } /* Name.Property */ .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .nv { color: #336699 } /* Name.Variable */ .ow { color: #008800 } /* Operator.Word */ .w { color: #bbbbbb } /* Text.Whitespace */ .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .bp { color: #003388 } /* Name.Builtin.Pseudo */ .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .vc { color: #336699 } /* Name.Variable.Class */ .vg { color: #dd7700 } /* Name.Variable.Global */ .vi { color: #3333bb } /* Name.Variable.Instance */ .vm { color: #336699 } /* Name.Variable.Magic */ .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ |
Changes to logfmt1/html/update-logfmt.html.
1 2 3 4 5 6 7 8 9 10 11 | <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut icon" href="img/favicon.ico"> | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut icon" href="img/favicon.ico"> <title>update-logfmt - logfmt1</title> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700" /> <link rel="stylesheet" href="css/theme.css" /> <link rel="stylesheet" href="css/theme_extra.css" /> <link href="custom.css" rel="stylesheet" /> <link href="syntax.css" rel="stylesheet" /> <script> // Current page data var mkdocs_page_name = "update-logfmt"; var mkdocs_page_input_path = "update-logfmt.md"; var mkdocs_page_url = null; </script> <script src="js/jquery-2.1.1.min.js" defer></script> <script src="js/modernizr-2.8.3.min.js" defer></script> |
︙ | ︙ | |||
39 40 41 42 43 44 45 | <div class="wy-side-nav-search"> <a href="." class="icon icon-home"> logfmt1</a> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul> | | | | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | <div class="wy-side-nav-search"> <a href="." class="icon icon-home"> logfmt1</a> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul> <li class="toctree-l1"><a class="reference internal" href="index.html">Intro</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="log.fmt.html">.log.fmt</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="logopen.html">logopen()</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="regex.html">regex()</a> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="fmt.html">global .fmt db</a> </li> </ul> <ul class="current"> <li class="toctree-l1 current"><a class="reference internal current" href="update-logfmt.html">update-logfmt</a> <ul class="current"> <li class="toctree-l2"><a class="reference internal" href="#args">args</a> </li> </ul> </li> </ul> <ul> |
︙ | ︙ | |||
91 92 93 94 95 96 97 | <div class="rst-content"> <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs"> <li><a href=".">Docs</a> »</li> | | | 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | <div class="rst-content"> <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs"> <li><a href=".">Docs</a> »</li> <li>update-logfmt</li> <li class="wy-breadcrumbs-aside"> </li> </ul> <hr/> </div> |
︙ | ︙ |
Changes to logfmt1/mkdocs.yml.
1 2 3 4 | site_name: logfmt1 docs_dir: docs site_dir: html nav: | > | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | site_name: logfmt1 docs_dir: docs site_dir: html mallard_dir: mallard nav: - Intro: index.md - .log.fmt: log.fmt.md - logopen(): logopen.md - regex(): regex.md - global .fmt db: fmt.md - update-logfmt: update-logfmt.md - logex: logex.md theme: # name: materia # name: bootstrap386 # name: ivory # name: material name: readthedocs |
︙ | ︙ |
Changes to logfmt1/share/grok.fmt.
︙ | ︙ | |||
361 362 363 364 365 366 367 | "%{LOGLEVEL:([\\w.\\-]+)}": { "rx": "([Aa]lert|ALERT|[Tt]race|TRACE|[Dd]ebug|DEBUG|[Nn]otice|NOTICE|[Ii]nfo|INFO|[Ww]arn?(?:ing)?|WARN?(?:ING)?|[Ee]rr?(?:or)?|ERR?(?:OR)?|[Cc]rit?(?:ical)?|CRIT?(?:ICAL)?|[Ff]atal|FATAL|[Ss]evere|SEVERE|EMERG(?:ENCY)?|[Ee]merg(?:ency)?)", "id": "$1", "grok": "LOGLEVEL" } }, "container": {}, | | < < | 361 362 363 364 365 366 367 368 369 | "%{LOGLEVEL:([\\w.\\-]+)}": { "rx": "([Aa]lert|ALERT|[Tt]race|TRACE|[Dd]ebug|DEBUG|[Nn]otice|NOTICE|[Ii]nfo|INFO|[Ww]arn?(?:ing)?|WARN?(?:ING)?|[Ee]rr?(?:or)?|ERR?(?:OR)?|[Cc]rit?(?:ical)?|CRIT?(?:ICAL)?|[Ff]atal|FATAL|[Ss]evere|SEVERE|EMERG(?:ENCY)?|[Ee]merg(?:ency)?)", "id": "$1", "grok": "LOGLEVEL" } }, "container": {}, "glob": [] } |