class Action

Defined in:

action.cr

Constant Summary

EVENT_BODY = "body"
EVENT_CONFIG_FIND = "find"
EVENT_CONFIG_FINDEX = "findex"
EVENT_CONFIG_NAME = "event_name"
EVENT_CONFIG_REPLACE = "replace"
PRIV_TOKEN = ENV["CL_PRIV_TOKEN"]? || ""
PRIV_TOKEN_SIZE = PRIV_TOKEN.size + 1
SIZE_LIMIT = ENV.has_key?("CL_SIZE_LIMIT") ? ENV["CL_SIZE_LIMIT"].to_i64 : 70000000000_i64
TAG = "tag"

Constructors

Instance Method Summary

Constructor Detail

def self.new(file_root : String, debug : Bool) #

[View source]

Instance Method Detail

def open_file_count #

[View source]
def process(data : SyslogData | Nil) #

[View source]
def setup_configs(file_watcher : FileWatcher) #

[View source]