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