LoginSignup
30

More than 3 years have passed since last update.

posted at

updated at

kibanaのクエリのメモ

kibana4で、
Visualizationで用意されているもの以外で結果を絞りたい時のクエリをメモメモ

  • どっかのフィールドの値で絞りたい(name=hoge)

    • name:"hoge"
  • andとかorとか使いたい

    • name:"hoge" AND pagenum:1
    • name:"hoge" OR name:"hage"
  • wildcard使いたい

    • name:hoge
      • 上記はnameフィールドだけにあたってくれない事もあった
      • 詳細は未調査
  • フィールドがあるかないかで絞りたい

    • _exists_:name
    • _missing_:name
  • ほにゃほにゃ以上

    • pagenum:>1

詳細はこのへんにのってた
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
30