Here is an example. The only difference is indeed the field "_index". I thought including the date in the name of the index was recommended and different dates did not count as different indices. I'll test using a static name.
GET condor-*/_search
{
"query": {
"match": {
"_id": {
"query": "halley#2213.98#1532617316"
}
}
}
}
Then, the result,
{
"took": 2,
"timed_out": false,
"_shards": {
"total": 20,
"successful": 20,
"skipped": 0,
"failed": 0
},
"hits": {
"total": 3,
"max_score": 1,
"hits": [
{
"_index": "condor-2018.07.26",
"_type": "doc",
"_id": "halley#2213.98#1532617316",
"_score": 1,
"_source": {
"GlobalJobId": "halley#2213.98#1532617316",
"Owner": "owner1",
"offset": 1786491,
"UsedCpu": 0,
"JobCurrentStartDate": "1532617484000",
"input_type": "log",
"source": "/var/log/condor_history.log",
"type": "log",
"MemoryUsage": 1,
"@timestamp": "2018-07-26T17:04:56.000+02:00",
"UsedTime": 12,
"beat": {
"hostname": "halley.fisica.unimi.it",
"name": "halley.fisica.unimi.it",
"version": "5.6.9"
},
"CompletionDate": "1532617496000"
}
},
{
"_index": "condor-2018.07.27",
"_type": "doc",
"_id": "halley#2213.98#1532617316",
"_score": 1,
"_source": {
"GlobalJobId": "halley#2213.98#1532617316",
"Owner": "owner1",
"offset": 1786491,
"UsedCpu": 0,
"JobCurrentStartDate": "1532617484000",
"input_type": "log",
"source": "/var/log/condor_history.log",
"type": "log",
"MemoryUsage": 1,
"@timestamp": "2018-07-26T17:04:56.000+02:00",
"UsedTime": 12,
"beat": {
"hostname": "halley.fisica.unimi.it",
"name": "halley.fisica.unimi.it",
"version": "5.6.9"
},
"CompletionDate": "1532617496000"
}
},
{
"_index": "condor-2018.07.28",
"_type": "doc",
"_id": "halley#2213.98#1532617316",
"_score": 1,
"_source": {
"GlobalJobId": "halley#2213.98#1532617316",
"Owner": "owner1",
"offset": 1786491,
"UsedCpu": 0,
"JobCurrentStartDate": "1532617484000",
"input_type": "log",
"source": "/var/log/condor_history.log",
"type": "log",
"MemoryUsage": 1,
"@timestamp": "2018-07-26T17:04:56.000+02:00",
"UsedTime": 12,
"beat": {
"hostname": "halley.fisica.unimi.it",
"name": "halley.fisica.unimi.it",
"version": "5.6.9"
},
"CompletionDate": "1532617496000"
}
}
]
}
}