In Ruby it works like this “CPU#{i}”, not sure how does it work in Logstash.
It works exactly the same in Logstash, but the string needs to be double-quoted. Such string-interpolation doesn't take place in single-quoted strings like in your example.
In Ruby it works like this “CPU#{i}”, not sure how does it work in Logstash.
It works exactly the same in Logstash, but the string needs to be double-quoted. Such string-interpolation doesn't take place in single-quoted strings like in your example.
© 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.