Hi, im very new to all this, so thanks for your time in helping.
So, is this code you are referring to?
POST /*%3Aso-*/_mvt/source.geo.location/5/15/10
{
"grid_precision": 0,
"exact_bounds": true,
"extent": 4096,
"query": {
"bool": {
"filter": [
{
"range": {
"@timestamp": {
"format": "strict_date_optional_time",
"gte": "2022-07-25T23:00:00.000Z",
"lte": "2022-07-26T22:59:59.999Z"
}
}
}
],
"must": [],
"must_not": [],
"should": []
}
},
"fields": [],
"runtime_mappings": {},
"track_total_hits": 10001,
"with_labels": false
}
The above code is from here:
As for is it a rolled up index, i have no idea, how would i find that out? The data is coming from my netflow module within filebeats
If I have done this right, ive copied your code and amended it tot this:
POST /*%3Aso-*/_mvt/source.geo.location/5/15/10
{
"track_total_hits": false,
"size": 1,
"_source": false,
"fields": [
"client.ip"
],
"query": {
"bool": {
"must": [],
"filter": [
{
"bool": {
"filter": [
{
"bool": {
"should": [
{
"match_phrase": {
"_id": "vatnOYIBzmT8Qkyo7A4i_"
}
}
],
"minimum_should_match": 1
}
},
{
"bool": {
"should": [
{
"match_phrase": {
"_index": "/*%3Aso-*/_mvt/source.geo.location/5/15/10"
}
}
],
"minimum_should_match": 1
}
}
]
}
}
],
"should": [],
"must_not": []
}
}
}
and i get this error
{
"error": "Incorrect HTTP method for uri [/*%3Aso-*%2F_mvt%2Fsource.geo.location%2F5%2F15%2F10?pretty=true] and method [POST], allowed: [HEAD, DELETE, PUT, GET]",
"status": 405
}
Blockquote