I am writing a plugin to validate the event data with JSON schema, with logstash 6.x, with https://github.com/ruby-json-schema/json-schema/.
How can I get the event object as a plain ruby object?
I am writing a plugin to validate the event data with JSON schema, with logstash 6.x, with https://github.com/ruby-json-schema/json-schema/.
How can I get the event object as a plain ruby object?
event.to_hash
It's perfect! thanks you.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.