Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write comments in Kibana console?

Can you provide me with a hint how to comment out lines in Kibana Dev Tools console? I am interested in comment syntax.

like image 579
ludgo Avatar asked Sep 30 '18 13:09

ludgo


1 Answers

Kibana dev tools does not support the comment within the query.

However, you can use # before or after the query or in-between queries to write a comment.

# This is a  comment
GET /_search
{
  "query": {
    "match_all": {}
  }
}

# This is another comment
POST /index/_delete_by_query
{
  "query": {
    "match": {
      "name": "abra ka dabra"
    }
  }
}
like image 174
sid8491 Avatar answered Sep 20 '22 01:09

sid8491