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

[Logs UI] Make column width proportions configurable #44327

Closed
jasonrhodes opened this issue Aug 28, 2019 · 18 comments
Closed

[Logs UI] Make column width proportions configurable #44327

jasonrhodes opened this issue Aug 28, 2019 · 18 comments
Labels
Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services

Comments

@jasonrhodes
Copy link
Member

jasonrhodes commented Aug 28, 2019

Following on from the discussion in #39703, we decided to move forward with making logs column width proportions configurable.

Screen Shot 2019-08-28 at 4 57 07 PM

AC:

  • In the settings tab for the source configuration in the Logs UI, each chosen column has a field that allows the user to adjust the CSS "flex-grow" value that will be applied to that column and its header -- this should default to whatever the current values are for our existing default columns, or "1" for new columns added
  • The timestamp field should be left as-is, calculated to auto adjust to the number of characters in the current timestamp format (this won't be configurable at all for now)

Note: should we also consider looking at the newer EUI data table for the Logs UI? elastic/eui#1689

@jasonrhodes jasonrhodes added Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Aug 28, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-logs-ui

@Zacqary
Copy link
Contributor

Zacqary commented Oct 17, 2019

What should the UI for this look and feel like? Is it literally just a text box to change the flex-grow value, or should we abstract that value away somehow?

Also, is the Message column adjustable? I noticed that it's no longer possible to move the Message column to anywhere but the final position, so I'm wondering if like the Timestamp column it should just be frozen.

@katrin-freihofner
Copy link
Contributor

katrin-freihofner commented Oct 24, 2019

I think the EUI data grid would solve this issue. The column width can be adjusted by dragging the borders. https://elastic.github.io/eui/#/tabular-content/data-grid

@weltenwort
Copy link
Member

It doesn't have the virtualization capabilities we need right now, though. And something like the nice timestamp header from #45986 or other customization in the stream rendering could become difficult to implement.

I'm keeping an eye on the data grid in regard to using it as a rendering mechanism for the logs stream, but it's not quite there yet IMHO.

@kycfeel
Copy link

kycfeel commented Mar 16, 2020

Any update on this? I'm looking forward to replacing my logtrail plugin on kibana to this native logs app, but it is almost unusable due to the reconfigurable width between data fields.

image

I simply want to reduce that blank space between kubernetes.lables.app and log fields in this screenshot.

@weltenwort
Copy link
Member

@mukeshelastic FYI

I think it might be worth investigating how easily we could add virtualized scrolling support to the EUI datagrid component which would then make things like column resizing easier.

@cschar
Copy link

cschar commented Oct 22, 2020

Is this feature on the roadmap for 2020? In the meantime is there a good alternative plugin ?

@beanaroo
Copy link

beanaroo commented Dec 6, 2020

Plenty of whitespace in this screenshot too on Kibana 7.10.0
image

@daggett206
Copy link

daggett206 commented Jan 26, 2021

let's make columns resizable. keep selected width in localStorage having min-width value
image

@zzssg
Copy link

zzssg commented Nov 6, 2021

Hi @weltenwort
I see you are the one who could make some progress on the columns width management in Kibana Logs described here.
Just wondering if there is some timelines to solve the problem which makes sad tons of Kibana users including me..

@weltenwort
Copy link
Member

Hey @zzssg 👋 Thanks for the ping. It's definitely at the top of my personal wish list as well, but I can't predict to which degree I'll be able to push that onto the roadmap. I'll try 🤞

@szymon-skyrise
Copy link

Hi @weltenwort in 2022!
We've switched to Kibana recently and we keep our fingers crossed for this improvement!

@smith
Copy link
Contributor

smith commented Apr 15, 2022

Closing this but we should investigate whether we can implement this as part of elastic/obs-infraobs-team#922.

@amitav13
Copy link

Closing this but we should investigate whether we can implement this as part of elastic/obs-infraobs-team#922.

Not sure why we're closing this, the issue does still exist. Would ideally want to close this only after it gets implemented as part of https://github.com/elastic/obs-infraobs-team/issues/922 or something else.

@weltenwort
Copy link
Member

weltenwort commented Apr 27, 2022

@szymon-skyrise and all, I've not forgotten about this but my means of promoting the issue are limited at the moment 😔

@WoodyWoodsta
Copy link

Wow I'm stunned 😨 - For a product which is as much about monitoring as it is about viewing logs, and this has not yet been made possible. I've spent the better part of the last couple of months getting an elastic stack into place only to find that the log viewer doesn't have features you'd expect from a log viewer.

Is there any way I can help? 😀

@smith
Copy link
Contributor

smith commented Jul 8, 2022

@WoodyWoodsta at this point the best issue to follow would be #134412.

@WoodyWoodsta
Copy link

@smith That looks fantastic - really glad there is effort being made to consolidate this across the entirety of Kibana as well.

@zube zube bot removed the [zube]: Done label Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Projects
None yet
Development

No branches or pull requests