Insert & Delete Data - Steps
Steps to delete the records:
Steps to delete the records from ES:
GET firenoc-national-dashboard/_search
{
"query": {
"bool": {
"must": [
{
"range": {
"date": {
"gte": 1656613800000,
"lte": 1658773799000,
"format": "epoch_millis"
}
}
}
]
}
}
}
POST firenoc-national-dashboard/_delete_by_query
{
"query": {
"bool": {
"must": [
{
"range": {
"date": {
"gte": 1656613800000,
"lte": 1658773799000,
"format": "epoch_millis"
}
}
}
]
}
}
}
Last updated
Was this helpful?