Kibana not showing completion suggest traffic

Anyone else notice that Kibana doesn't show traffic to an index that only receives searches that use the completion suggest feature? We are using version Elasticsearch and Kibana version 7.4

Can you elaborate on your question a bit more. What is the data your indexing? what are u expecting to see and what you don't see ? Might have to dig deeper, but plz provide more steps, screenshots, logs etc.

Thanks
Rashmi

Here is a simple example. Two indexes: apple and banana. The former has a field with a simple text mapping, and the latter has a field with a completion mapping. Insert a document in each.

# Create index with simple text mapping
PUT /apple
{
  "mappings": {
    "properties": {
      "a": {"type": "text"}
    }
  }
}

# Create index using a completion mapping
PUT /banana
{
  "mappings": {
    "properties": {
      "x": {"type": "completion"}
    }
  }
}


# Insert documents into each
PUT /apple/_doc/1?refresh=true
{
  "a": "hello"
}


PUT /banana/_doc/1?refresh=true
{
  "x": "hello"
}

Now perform several simple searches on "apple" and several completion suggest searches on "banana"

# Simple search
GET /apple/_search

# Search using completion suggester
GET banana/_search
{
  "suggest": {
    "mysuggest": {
      "prefix": "hel",
      "completion": {
        "field": "x"
      }
    }
  }
}

Look at the search rate graphs for each index on the Kibana monitoring dashboard.

The one for "apple" shows a spike of searches, but the one for "banana" remains on zero searches per second

:thinking:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.