以下の様に記載することで期待通りの結果を得ることができました。
本当にありがとうございました!
mutate {
add_field => ["User-Name5", "%{User-Name}"]
}
mutate {
gsub => ["User-Name5", "^(.{5}).*", "\1" ]
}
以下の様に記載することで期待通りの結果を得ることができました。
本当にありがとうございました!
mutate {
add_field => ["User-Name5", "%{User-Name}"]
}
mutate {
gsub => ["User-Name5", "^(.{5}).*", "\1" ]
}
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.