Skip to content

Commit

Permalink
logのmapping typeをtextにする
Browse files Browse the repository at this point in the history
  • Loading branch information
piny940 committed Jan 28, 2025
1 parent 09dfc57 commit bcd2868
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions kubernetes/apps/elastic-system/base/scripts/init_kibana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ curl -X PUT -k -u "${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}" "https:/
\"template\": {
\"settings\": {
\"index.lifecycle.name\": \"logs_auto_delete\"
},
\"mappings\": {
\"properties\": {
\"log\": {
\"type\": \"text\"
}
}
}
}
}"

0 comments on commit bcd2868

Please sign in to comment.