Logstash cheat sheet: Difference between revisions

Line 590: Line 590:
   "query": {
   "query": {
     "match": {
     "match": {
       "host": {
       "foo": {
         "query": "foo",
         "query": "bar",
         "type": "phrase"
         "type": "phrase"
       }
       }
Line 603: Line 603:
   "query": {
   "query": {
     "match_phrase": {
     "match_phrase": {
       "host": "foo"
       "foo": "bar"
     }
     }
   }
   }