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

Lens only shows keyword fields, not text fields #96576

Closed
jportner opened this issue Apr 8, 2021 · 5 comments
Closed

Lens only shows keyword fields, not text fields #96576

jportner opened this issue Apr 8, 2021 · 5 comments
Labels
enhancement New value added to drive a business result Feature:Lens impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@jportner
Copy link
Contributor

jportner commented Apr 8, 2021

Kibana version: Verified in 7.11.1, 7.12.0, 7.13.0-SNAPSHOT, and master

Describe the bug: Lens only shows keyword fields, not text fields

Steps to reproduce:

  1. Create a test document in Dev Tools:
    POST test/_doc
    {
      "link": "https://www.example.com"
    }
    
  2. Create an Index Pattern for this document:
    image
  3. Create a Lens Visualization:
    image

Expected behavior: Lens should show both link and link.keyword in the available fields

@jportner jportner added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Apr 8, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@wylieconlon
Copy link
Contributor

@jportner these are hidden from Lens because we currently don't allow you to visualize the full-text fields. We might be able to display them in a Data Table visualization in the future.

@timductive
Copy link
Member

Closing this as text fields in a datatable are supported in ESQL along with aggregations.

@harnish-elastic
Copy link

Hi @timductive,

In the IBM MQ package, one field (ibmmq.errorlog.error.description) has the text data type which was used in the TSVB table visualization. However, we are still not able to visualize in the lens. We have checked in the multiple Kibana versions (8.9.x, 8.10.x, 8.11.0). Hence, we are still blocked on IBM MQ lens migration for one panel. Could you please help me out?

TSVB: Visualization working as expected tsvb

Lens: The text field is not visualizablelens

@stratoula
Copy link
Contributor

stratoula commented Nov 15, 2023

@harnish-elastic you wont be able to do it with Lens or TSVB as they only work with aggregatable fields and the text fields are not (from ES)

But from 8.11 you have ES|QL where it will allow you to create visualizations with text fields.

I will give an example:

  • Navigate to Discover and ESQL mode
  • Run a query such as from logstash-* | stats var0 = avg(bytes) by host
  • Host is a text field
  • This results to
image
  • You can save this visualization to a dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Lens impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

6 participants