This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST _reindex | |
{ | |
"source": { | |
"index": "vehicles" | |
}, | |
"dest": { | |
"index": "vehicels-back" | |
}, | |
"script": { | |
"lang": "painless", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Records": [ | |
{ | |
"cf": { | |
"config": { | |
"distributionId": "EDFDVBD6EXAMPLE" | |
}, | |
"request": { | |
"clientIp": "2001:0db8:85a3:0:0:8a2e:0370:7334", | |
"method": "GET", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST _reindex | |
{ | |
"source": { | |
"index": "route_policy" | |
}, | |
"dest": { | |
"index": "route_policy_back", | |
"pipeline": "route_restriction_date_converter" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST management_users/_update_by_query | |
{ | |
"script": { | |
"source": "ctx._source.web_permissions=params.web_permissions", | |
"params": { | |
"web_permissions": { | |
"allowed_actions": [], | |
"permissions_group_name": "full_control", | |
"permissions_group_id": "f-AbVXgBawR5qZFRXLTM", | |
"permissions_group_label": "Full control" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#aws root partition resize | |
growpart /dev/xvda 1 | |
resize2fs /dev/xvda1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUT _ingest/pipeline/route_restriction_date_converter | |
{ | |
"description": "Convert dates to ISO format", | |
"processors": [ | |
{ | |
"date": { | |
"field": "start_date", | |
"target_field": "start_date", | |
"formats": [ |
NewerOlder