Hello. I want to save the file that is encoded in elasticsearch
So i use the logstash and ruby filter.
How to encode the content with ruby filter?
help me if you know this.
Below is my test..
13 filter {
14 grok
15 {
16 match => ["message", %{WORD:b64} ]
17 }
18 ruby
19 {
20 code => "event.set(@message, base64.strict_encode64(b64))"
21 }
22 }