i wanted to use a lookup table in Logstash to check if account id exisits in lookub table then it will grab the output location from the lookup file. e--g
You might be able to call the Dynamo API using an http filter, and you can do pretty much anything in a ruby filter. So it is very likely possible, but I have no experience and cannot offer any advice.
Thanks for the response again.
translate filter enriched the message which i don't want. I want to look into lookup file on basis of account id and if account id exists, then want to grab all the secrets defined against that account id and then use those secrets to send the actual event to output.
If you use target => "[@metadata][secrets]" you can use sprintf references to it but it will not get sent by the output with the rest of the fields on the event.
s3 - Uploading failed, retrying (#5 of Infinity) {:exception=>Aws::S3::Errors::InvalidAccessKeyId, message=>"The AWS Access Key Id you provided does not exist in our records."
after running /usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/lookup_test.conf my message looks like
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.