Module: LogStash::Config::Defaults
Instance Method Summary collapse
Instance Method Details
#cpu_cores ⇒ Object
16 17 18 |
# File 'lib/logstash/config/defaults.rb', line 16 def cpu_cores Concurrent.processor_count end |
#input ⇒ Object
8 9 10 |
# File 'lib/logstash/config/defaults.rb', line 8 def input "input { stdin { type => stdin } }" end |
#output ⇒ Object
12 13 14 |
# File 'lib/logstash/config/defaults.rb', line 12 def output "output { stdout { codec => rubydebug } }" end |