before I run this config I exported the path like this: export path="/path/to/file/*.csv"
And I get this error: "Unable to configure plugins: Cannot evaluate ${test}. Replacement variable test is not defined in a Logstash secret store or an environment entry and there is no default value given.
The docs don't indicate that I need to do anything other than export the variable but I can't figure it out. What am I doing wrong?
You are exporting the variable as a normal user and running logstash with sudo, which runs under root and the root user environment does not have the variable you exported before.
To solve this you need to tell sudo to preserve the variable.
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.