humio / issues

Issue Tracker for Humio
4 stars 2 forks source link

Apply custom styling on search result #40

Open mfrtrifork opened 6 years ago

mfrtrifork commented 6 years ago

I usually have several log levels when logging and I have of course piped the log level into a field in Humio.

Would it make sense to apply some custom theming to search results based on one or more fields?

In my purpose I would, for starters, just style the different log levels just as illustrated in the attached image.

image

pmech commented 6 years ago

Hi @mfrtrifork. That makes good sense and is something we have discussed several times. In the long run we want to make a general solution where colouring and presentation can be controlled for any type of events.

Maybe in the short run we should add a log-level coloring as an option. So if a log line contains either a level or a loglevel field we could add color to the output. @anagrius What do you think. Should we do this?

mfrtrifork commented 6 years ago

Would it make sense to have a custom field name ? - In my case the field for log level is logLevel.

mfrtrifork commented 6 years ago

@pmech any news on this ? :)

pmech commented 6 years ago

No. We do have support for ansi colors, so maybe you could do the coloring in your end ?

anagrius commented 6 years ago

Hi, it is coming in some form. We are finishing of a large release right now. And it is one of the top items on my list after that. What that means timewise I cannot say exactly, but we have definitely not forgotten - and it is something we want ourselves.