如何搜索job_name
的ES文檔? 這是文檔的樣子:如何在彈性搜索中搜索文檔
{"_index":"deedloadjobstatus","_type":"DeedExtract","_id":"AVX0UkVKNGSyAbnrJkor","_score":1.0,
"_source":{"luigi_task_name": "DeedExtract", "job_name": "DeedDowloader2", "successful": 1,
"start_time": "2016-07-16T20:59:21.000Z", "error_message": null, "month": 7, "end_time": "2016-07-16T20:59:21.000Z",
"monthname": "Jul", "year": 2016, "runtime": 0,
"all_params": {"job_name": "DeedDowloader2", "run_date": "2016-07-15"},
"@timestamp": "2016-07-16T20:59:21.000Z", "day": 16}}
我試過以下,但我無法找到。
host:port_number/deedloadjobstatus/_search?jobname:DeedDowloader2
嘗試'主機:端口號/ deedloadjobstatus/_search作業名稱? deeddowloader2' –