I would like to know if Logstash has any function that generate a hash of every log that it receives. The main purporse of this is to ensure (in the future) that logs has not been tampered(calculating again the hash and comparing it with the previous).
There is the fingerprint filter that might suit your needs.
Should be pretty straightforward depending on where you want to apply the hash (original message/certain fields) and on whether it needs to be contained inside the actual event itself or not.
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.