logstash-plugins / logstash-filter-dissect

Extract structured fields from an unstructured line
Apache License 2.0
13 stars 22 forks source link

Formatting difference between Github and elastic.co #67

Open mattpopovich opened 5 years ago

mattpopovich commented 5 years ago

Hi all, found a slight formatting difference between the source code listed on Github and the formatting displayed on elastic.co. I believe it is correct here on Github, but incorrect on elastic.co.

elastic.co displays: The Key: The key is the text between the %{ and }, exclusive of the ?, +, & prefixes and the ordinal suffix. %{?aaa} - key is aaa %{+bbb/3} - key is bbb %{&ccc} - key is ccc

Github displays: key - the text between the %{ and }, exclusive of the ?, +, & prefixes and the ordinal suffix. Examples: %{?aaa} - the key is aaa %{+bbb/3} - the key is bbb %{&ccc} - the key is ccc

I much prefer the latter due to the clear difference between the key and the next field.