Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Colorize table according to field #335

Closed
faxm0dem opened this issue Aug 7, 2013 · 9 comments
Closed

Enhancement: Colorize table according to field #335

faxm0dem opened this issue Aug 7, 2013 · 9 comments

Comments

@faxm0dem
Copy link

faxm0dem commented Aug 7, 2013

Wouldn't it be great to define colors for the lines in a table according to the value of some field? I'm thinking for instance when looking at syslog, we could have a nice color gradient from green to red according to severity

@trudesea
Copy link

I like this idea and was thinking something similar. Maybe highlight the text based on the color assigned in the search query for graphs.

@faxm0dem
Copy link
Author

Both are IMHO useful. But your idea needs handling of the case where both colors match the same line

@trudesea
Copy link

Oh, sorry should have been more clear. Say you search for "error" and give it a color red. I was thinking it could then change the font color for the actual text "error" in the table, just the matches, not the whole line. If you search for more than one term and both are found in the same line, then each match will have a different font color.

@faxm0dem
Copy link
Author

both ideas are worth implementing I think

@rashidkpc
Copy link
Contributor

We'll be able to do this once elasticsearch supports named queries. I know its on the roadmap.

@faxm0dem
Copy link
Author

fair enough, I'll look forward to it, thanks

@greenkiwi
Copy link

Is there any status update on this?

@rashidkpc
Copy link
Contributor

I'd say this could be done as a custom field formatter once those are in. See here: #1543

@mvfcva mvfcva mentioned this issue Jun 2, 2015
8 tasks
spalger pushed a commit to spalger/kibana that referenced this issue Mar 3, 2016
Marvel depends on the marvel index template. This commit makes the agent more diligent in checking the existence of the template after error conditions of settings updates. This is relevent, for example, where a dedicated cluster is being stopped, data folder being cleaned and the cluster brought up. Another issue was found when calls to upload the template connected to the monitoring cluster but returned with a non 2XX status code but no Java Exception was thrown.

Closes elastic#335
harper-carroll pushed a commit to harper-carroll/kibana that referenced this issue Jul 11, 2016
w33ble added a commit to w33ble/kibana that referenced this issue Sep 13, 2018
* chore: link to @kbn/plugin-helpers

* chore: remove stray console.log
@majkinetor
Copy link

define colors for the lines in a table according to the value of some field?

No, this can't be done via field formatter. It colors given column, while expectation is to color rows/lines here.

I suggest that Color field formatter be extended to have a checkbox such as

  • Use this color for entire row

If multiple fields have this filed, it could be applied according to the popularity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants