Is there a way to make Logstash configuration file dynamic by reading attribute names and types from a different text file (or any other input mechanism).
To explain, if my logstash configuration file looks something like this:
The column names in this configuration are hard coded and each of the field is converted into its respective type using mutate.
Can I take these column names and their data type from some other input source (e.g. a text file), save them into a variable and use that variable? So that whenever Logstash is run, it takes fresh attribute from input and changes the configurations accordingly?
Note that bar is an integer, but foo is not. The left side of the convert is not substituted. Also a string that looks like an array will be interpreted as a string, not an array. So you cannot do
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.