Hello everybody !
I'll like to know if we can set color syntax for log through logs module ?
Example for syslog or auth log. (Error => RED / WARNING => ORANGE ....)
Thanks
Hello everybody !
I'll like to know if we can set color syntax for log through logs module ?
Example for syslog or auth log. (Error => RED / WARNING => ORANGE ....)
Thanks
Hi @Gael_RICHIER,
thank you for that suggestion. What criteria/fields would be most useful to determine the color from in your use-case? The type? The log level?
Hi @weltenwort,
For me, it will be great by log level field.
But I think more generally with a regular expression, if a specific field contain a pattern.
Ex : for authentification logs if field "auth.status" contain 'failed' the line could be red .
That makes sense, thank you. I have created a feature request to track this topic. Please feel free to follow its progress and to add further details about your use-case as comments on the issue.
Thank you for sharing article and information. this is very helpful for beginner. kodi
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.