Page MenuHomeSoftware Heritage
Paste P315

querying mercurial loader errors
ActivePublic

Authored by ardumont on Oct 15 2018, 2:33 PM.
curl -XPOST 'http://esnode3.internal.softwareheritage.org:9200/swh_workers-2018.10.11,swh_workers-2018.10.12,swh_workers-2018.10.13,swh_workers-2018.10.14/_search' -d '{
"from": 10,
"_source": [
"message",
"swh_logging_args_args",
"swh_logging_args_exc",
"swh_logging_args_kwargs",
"systemd_unit",
"_score",
"priority"
],
"sort": [
{
"@timestamp": "asc"
}
],
"query": {
"bool": {
"must": [
{
"match": {
"systemd_unit.keyword": {
"query": "swh-worker@swh_loader_mercurial.service"
}
}
},
{
"term": {
"priority": "3"
}
}
]
}
}
}'