Can I include duplicate code in a specific file in the log?
For example, when importing data from multiple db tables, you need to keep writing
jdbc_driver_library => "mysql-connector-java-5.1.36-bin.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://localhost:3306/mydb"
Is there a way to remove duplicate code like this?
I want to put duplicate code content into a file and load it from the logstash conf file.