Skip to content

Autosuggest fields with dot #86

@alexpts

Description

@alexpts

Input JSON:

  {
    "name": "elasticsearch2",
    "disk.total": "95gb",
    "disk.used": "12.5gb",
    "disk.avail": "82.5gb",
    "ram.max": "2gb",
    "uptime": "5.7h",
    "ip": "172.18.0.2",
    "heap.current": "473.2mb",
    "heap.percent": "46",
    "heap.max": "1gb",
    "ram.percent": "81",
    "node.role": "cdfhilmrstw",
    "master": "*",
    "id": "yVjW",
    "http_address": "172.18.0.2:9200",
    "version": "8.4.1",
    "query_cache.memory_size": "3kb",
    "query_cache.hit_count": "7092",
    "request_cache.hit_count": "1",
    "flush.total": "19",
    "flush.total_time": "39.9s",
    "get.current": "0",
    "port": "9300"
  }
]

On click to input field UI show suggest fields

image

Fields with dot in name don`t work correct.

.name - show name field

  1. Autosuggest must escape name of fields.
  2. How I can escape field with dot manually?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions