Open KOTungseth opened 4 years ago
Pinging @elastic/kibana-docs (Team:Docs)
More things similar to that:
It seems easiest to discover some of this documentation directly in the product, but we don't currently have a design for this. This is pretty closely related to the idea of in-product help text about operations.
After discussing some of these ideas with @KOTungseth and @MichaelMarcialis we have identified basically three possible types of reference content for Lens, mixing both in-product and external documentation.
Type | Example | How is it presented? |
---|---|---|
Inline help that is tied to a form element | Whats "granularity" for histograms? | Best presented in-product, such as a flyout or popover |
Inline help that is not part of a form | When is a field shown as "empty"? | Can be presented in-product or using external docs |
Higher-level help that explains multiple parts of the UI | What operation can you do with what types of field? | Mostly done using external docs |
I think the next steps are:
We've identified the following things need documentation.
Content | Target location | Notes |
---|---|---|
How are data summaries sourced? | Kibana Guide | Devs to write ( #85575 ) |
What's granularity in histograms? | Lens UI | Devs to write for popover testing |
How does the auto date histogram work? | Lens UI | Devs to write for popover testing |
What is each fitting function doing? | Kibana Guide | Devs to write later |
Describe what "group by this field first" does (on es agg level) | Lens UI | Talk to Michael about putting animations in the product. We should not try to describe this with more text. |
Limitations | Kibana Guide | To include JSON input, percentages, pie charts, and x-axes of multiple layers merged in a chart |
When do fields show as empty? | Tooltip on Lens UI | #83321 |
How is the moving average calculated? | Kibana Guide | Targeted for 7.12 |
What operations can you do with what types of fields? | TBD | Do we need this? |
It sounds like @mbondyra or @dej611 will write the first few items that we want to test out in a popover.
For visibility, here are the design concepts that I shared with @wylieconlon and @KOTungseth in our last meeting.
Migrating here as single source of truth from now on.
Content | Topic/Section | Target location | Issue/PR | Source | Notes |
---|---|---|---|---|---|
How are pie chart slices sized exactly? | Visualizations / Pie Chart | Kibana Guide / Lens Limitations | -- | -- | -- |
How is the percentage chart calculating its percentages? | Visualizations / XY Chart | Kibana Guide / Lens Limitations | -- | -- | -- |
How the x axes of multiple layers are merged in a chart? | Visualizations / XY Chart | Kibana Guide / Lens Limitations | -- | -- | -- |
-- | -- | ||||
How can I configure the axis position? | Visualizations / XY Chart | Lens UI? | -- | -- | Probably addressed in the UI should be enough? |
-- | -- | ||||
How are IPs sorted? | Visualizations / Datatable | Kibana Guide / Lens Limitations | -- | #85431 | -- |
Can I use a custom color palette? | Visualizations | Kibana Guide | #95217 | -- | -- |
-- | |||||
-- | -- | ||||
-- | -- | ||||
What does "group by this field first" do (on Elasticsearch aggregation level)? | Data Aggregation in Lens | Lens UI? | -- | -- | Talk to Michael about putting animations in the product. We should not try to describe this with more text. |
What is the “Records” special field? | Lens UI? | Lens UI? | -- | #50420 | -- |
What Elasticsearch functions are renamed in Lens? | Lens UI | Kibana Guide / Lens page | -- | -- | Something like the new TSVB page with a "translation" page |
-- | -- | ||||
-- | -- | ||||
-- | -- | ||||
-- | -- | ||||
-- | -- | ||||
Is it possible to build a histogram using two date fields from the same index pattern? | Data Aggregation in Lens | Kibana Guide | -- | -- | -- |
-- | -- | ||||
How does the last value work | Data Aggregation in Lens | Lens UI | -- | -- | ES reference |
Can the entire dashboard be exported as CSV? | Share / Export / Reporting | Kibana Guide / Dashboard | -- | -- | Perhaps a dedicated Export page for Kibana can be useful to address this |
What can (or can't) be exported? | Share / Export / Reporting | Kibana Guide / Dashboard or Lens Limitations | -- | -- | Perhaps a dedicated Export page for Kibana can be useful to address this |
Is there a way to automatically export using the Kibana API? | Share / Export / Reporting | Kibana Guide | -- | Kibana forum thread | Perhaps a dedicated Export page for Kibana can be useful to address this |
What happens with very large CSVs? | Share / Export / Reporting | Kibana Guide / Dashboard or Lens Limitations | -- | -- | Perhaps a dedicated Export page for Kibana can be useful to address this |
Are multiple layers exported in CSV? | Share / Export / Reporting | Kibana Guide / Dashboard or Lens Limitations | -- | -- | Perhaps a dedicated Export page for Kibana can be useful to address this |
How can I compare two dates? | Data Aggregation in Lens | Kibana Guide / Lens Limitations | -- | -- | -- |
Is it possible to inspect the Elasticsearch query in Lens? | Data Aggregation in Lens | Kibana Guide / Lens Limitations | #111601 | -- | -- |
-- | |||||
-- | |||||
Is it possible to configure decimal point in number format in Lens | Visualizations | Lens UI? | -- | -- | -- |
Is it possible to "split up" a metric visualization by terms? | Visualizations / Metric | Kibana Guide / Lens Limitations | -- | -- | -- |
-- | -- | ||||
-- | |||||
Elastic forum thread | -- | ||||
-- | |||||
Kibana forum thread | -- | ||||
Kibana forum thread | -- | ||||
Kibana forum thread 1 Kibana forum thread 2 Kibana forum thread 3 Kibana forum thread 4 | -- | ||||
Kibana forum thread | -- | ||||
Kibana forum thread | -- | ||||
#105057 | Kibana forum thread | -- | |||
Is it possible to filter tooltip entries? | Visualizations/XY Chart | Kibana Guide/Lens Limitations | -- | Kibana forum thread | -- |
How to isolate a single series in a chart? | Visualizations/XY Chart | Kibana Guide/Lens Limitations | #111601 | Kibana forum thread | -- |
Can I pick a specific color for a specific term/category name? | Visualization/XY Chart | Kibana Guide/Lens Limitations | -- | Kibana forum thread, Kibana forum thread 2 | -- |
Where should the Lens limitations live? We're going to need to reformat the docs. Kaarina to open a draft PR for reference content and Dashboard reformat, then team can push to PR.
What release should we plan to merge these changes? Reference content to target 7.12, additional UI content to target 7.13.
Pinging @elastic/kibana-app (Team:KibanaApp)
@dej611 @KOTungseth does it still make sense to keep this open?
I'm using this issue to keep track of old and new Lens questions. If closed I would have to create something similar to keep track of the same information.
Hi folks, I've been looking for documentation on "Group by this field First". I haven't really been able to find anything in the docs. Could someone point me to it or post an official description of what that switch is supposed to do? Thank you!
Hi @govindrai , thanks for raising this. I think we actually don't document this well (@KOTungseth do you think we can get it into some of the existing guides?). A short explanation here:
"Group by this field first" is about the order of multiple grouping dimensions. Let's say you have an xy chart with a date histogram on the horizontal axis and a "top 5 values of x" as breakdown. By default, your whole dataset is grouped by the top 5 values first, so you will get the top 5 values of x for the whole data set, then see their trends over time. However if you uncheck "group by this field first" for the breakdown dimension, it means it will do the date histogram first (grouping your data into time intervals), and then afterwards apply the "top 5 values of x" grouping separately per time bucket. This means you don't get the top 5 values overall over time, you get the top 5 values per time interval (e.g. per day). So your chart could show many more than 5 different values of x because there might be a different top 5 for each day. The same applies in other cases (e.g. if you have two "top values" dimensions on different fields). In some situations there is no effect at all, e.g. if there are less than 5 values in total - as all of them will show up either way, the grouping order doesn't change the result.
See this example:
Top 3 geo.dest overall, then do the time grouping:
Time grouping, then top 3 geo.dest per 3 hour interval separately:
As we make Lens more complex, there will be more areas that would benefit from more technical descriptions.
For example:
For all of these things there are obvious, intuitive answers, which are right most of the time, but as with almost everything, there's depth to them and it would be cool to have an official answer for them (right now most of these are answered in blog posts or forum questions, but it's not really structured)
@flash1293 @wylieconlon @timroes @mbondyra