Feature Request: Support "True Color" escape sequences in loki logs #35588
Labels
area/explore
datasource/Loki
help wanted
prio/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough interest in it.
type/feature-request
24-bit "direct" RGB colors in logfiles
Sometimes logfiles use 24bit RGB color escape sequences to distinguish between e.g. different email addresses using a checksum or for other reasons. Supporting the entire RGB color space would be useful.
The escape sequences used by almost all terminals with 24-bit RGB support are:
ESC[ 38;2;⟨r⟩;⟨g⟩;⟨b⟩ m
=> Select RGB foreground colorESC[ 48;2;⟨r⟩;⟨g⟩;⟨b⟩ m
=> Select RGB background colorPerhaps I should also open an issue on the
ansicolors
npm package? At a very quick glance, I wasn't certain if adding 24bit RGB color support there would be API compatible or would require an update to grafana.The text was updated successfully, but these errors were encountered: