e.g. I have a field "value: abcdefgh1234567890" in logstash(obtained from message after grok filter)
match => { "message" => "%{GREEDYDATA}value=%{WORD:value}"}
and i want to truncate value to show only 5 chracters and append xxxxx for rest, so the value i want to send to elasticsearch will be "value: abcdexxxxxxxxxxxxx".
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.