50. Kibana 查詢語法(2)
• 邏輯操作 AND, OR
firstname:H* AND age:20
firstname:H* OR age:20
• + :查詢結果中必須包含 , - :不能包含
+city:T* -birthday:1980-01-01 name:J*
city 欄位結果中必須包含T開頭的,生日不能為1980-01-01,name 欄位 J 開頭
的有或沒有都可
• 分組
(city:T* OR gender:male) AND country:USA 先查詢city T 開頭或是性別為 male 的結果,
然後再與國家為 USA 的結合後查詢
50
57. 參考資料
• video : Elasticsearch from the bottom up
• book: Elasticsearch: The Definitive Guide
• book: Learning ELK Stack
• book: The Logstash book
• book: Kibana Essentials
• site: http://logz.io/blog/elasticsearch-cheat-sheet/
• site: How to Deploy the ELK Stack in Production
57