Created
September 25, 2019 08:30
-
-
Save knight76/e0165ccbe3ee2e9e4b14be33136382f7 to your computer and use it in GitHub Desktop.
elasticsearch
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
curl -X PUT "http://localhost:9200/_ingest/pipeline/reqlog-monthly-index" -H 'Content-Type: application/json' -d' | |
{ | |
"description": "monthly index naming for reqlog", | |
"processors" : [ | |
{ | |
"date_index_name" : { | |
"field" : "date1", | |
"index_name_prefix" : "reqlog_", | |
"index_name_format" : "yyyy-MM", | |
"date_formats" : [ "UNIX_MS" ], | |
"date_rounding" : "M", | |
"timezone": "+09:00" | |
} | |
} | |
] | |
}' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment