lib/logstash/web/lib/elasticsearch.rb in logstash-lite-0.2.20101120021802 vs lib/logstash/web/lib/elasticsearch.rb in logstash-lite-0.2.20101120024757
- old
+ new
@@ -44,9 +44,10 @@
#headers req.response_header
data = JSON.parse(req.response)
data["duration"] = Time.now - start_time
# TODO(sissel): Plugin-ify this (Search filters!)
+ # Search anonymization
#require "digest/md5"
#data["hits"]["hits"].each do |hit|
[].each do |hit|
event = LogStash::Event.new(hit["_source"])
event.to_hash.each do |key, value|