File tree Expand file tree Collapse file tree
themes/jorgelbg/static/css Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,19 @@ doesn't support Grok patterns (like
1717Instead, Filebeat advocates the usage of the [ dissect
1818processor] ( https://www.elastic.co/guide/en/beats/filebeat/master/dissect.html ) .
1919
20+ {{< announce >}}
21+ A small CLI tool for local pattern testing is also available now. Releases are available in the
22+ [ Github Releases page] ( https://github.com/jorgelbg/dissect-tester/releases ) . After downloading and
23+ decompressing the ` .tar.gz ` file the CLI can be executed as:
24+
25+ ``` sh
26+ $ dissect-tester/dissect-tester --pattern=' %{key1} %{key2}'
27+ ```
28+
29+ Test cases are accepted through ` stdin ` and for each test case the result will be sent directly into
30+ ` stdout ` .
31+ {{</ announce >}}
32+
2033I like the dissect processor tokenization syntax. It is easy to understand and usually quite
2134fast at processing. This blog post is not about the decision of not supporting Grok patterns in
2235Filebeat.
Original file line number Diff line number Diff line change 11<!-- announcement -->
2- < div class ="info ">
3- < svg width ="80 " viewBox ="0 0 512 512 "> < circle cx ="256 " cy ="475 " r ="27 " fill ="#f7911e "/> < g fill ="#d1d3d4 "> < path
2+ < div class ="info announce ">
3+ < svg width ="150 " viewBox ="0 0 512 512 "> < circle cx ="256 " cy ="475 " r ="27 " fill ="#f7911e "/> < g fill ="#d1d3d4 "> < path
44 d ="M99 244v-34H67v41M413 244v-34h32v41z "/> </ g > < g fill ="#4aa7ed "> < path d ="M114 244h-3a101 101 0 000
55 202h3V244zM398 244h3a101 101 0 010 202h-3V244z "/> </ g > < path d ="M456 210a200 200 0 00-400 0h64a136 136
66 0 01272 0h64z " fill ="#f9ae18 "/> < path d ="M78 306c6 0 10-5 10-10v-1a10 10 0 00-20 0v1c0 5 5 10 10
1212 0 0054-208zM256 458a17 17 0 110 34 17 17 0 010-34zm-152-22a91 91 0 010-182v182zM89 236l-12
1313 3v-19h12v16zM256 64c-77 0-140 60-146 136H66a190 190 0 01380 0h-44c-6-76-69-136-146-136zm167
1414 156h12v19l-12-3v-16zm-15 216V254a91 91 0 010 182z "/> </ svg >
15-
16- < p > {{ .Inner | markdownify }}</ p >
15+ < div > {{ .Inner | markdownify }}</ div >
1716 </ div >
1817 <!-- image -->
Original file line number Diff line number Diff line change @@ -851,12 +851,28 @@ h1 {
851851 display : flex;
852852 align-items : flex-start;
853853 margin : 1rem 0 ;
854+ font-family : sans-serif;
855+ font-size : 1.15rem ;
856+ }
857+
858+ .info .announce {
859+ position : relative;
860+ margin-left : -100px ;
861+ }
862+
863+ .info .announce > div {
864+ border-left : 6px solid var (--main-color );
865+ padding-left : 10px ;
866+ margin-left : 10px ;
867+ }
868+
869+ .info pre {
870+ margin-top : 20px ;
854871}
855872
856873.info p {
857874 width : 100% ;
858875 margin : 0 0 0 1rem ;
859- font-family : sans-serif;
860876}
861877
862878p .cc {
You can’t perform that action at this time.
0 commit comments