Sha256: 36c7afcafb9b30d85ecb15ebd795e39411a4a64d054c67241285117d721f9ab3
Contents?: true
Size: 356 Bytes
Versions: 10
Compression:
Stored size: 356 Bytes
Contents
# encoding: utf-8 require "app/command" class LogStash::Api::StatsEventsCommand < LogStash::Api::Command def run #return whatever is comming out of the snapshot event, this obvoiusly #need to be tailored to the right metrics for this command. stats = LogStash::Json.load(service.get(:events_stats)) stats["stats"]["events"] end end
Version data entries
10 entries across 10 versions & 1 rubygems