Class: LogstashCli::CLI

Inherits:
Thor
  • Object
show all
Includes:
Command
Defined in:
lib/logstash-cli/cli.rb

Instance Method Summary collapse

Methods included from Command

#_format

Methods included from Count

#_count

Methods included from Tail

#_tail

Methods included from Grep

#_grep, indexes_from_interval, parse_time_range

Instance Method Details

#count(pattern) ⇒ Object



71
72
73
# File 'lib/logstash-cli/cli.rb', line 71

def count(pattern)
  _count(pattern,options)
end

#grep(pattern) ⇒ Object



30
31
32
# File 'lib/logstash-cli/cli.rb', line 30

def grep(pattern)
  _grep(pattern,options)
end

#tailObject



53
54
55
# File 'lib/logstash-cli/cli.rb', line 53

def tail()
  _tail(options)
end