I am starting with ruby and logstash. seeing following statements in http output plugin(https://github.com/logstash-plugins/logstash-output-http) at , What are these systax. Is it ruby syntax or logstash or jruby:
RETRYABLE_MANTICORE_EXCEPTIONS = [
::Manticore::Timeout,
::Manticore::SocketException,
::Manticore::ClientProtocolException,
::Manticore::ResolutionFailure,
::Manticore::SocketTimeout
]
and
config :url, :validate => :string, :required => :true
and when we defined filter in conf file, what syntax. Is is some ruby code and format defined by logstash:
input
{stdin {}}
filter{
grok{}
}
output{
if [type] != "dots" {
stdout{ codec=>"rubydebug" }
} else {
stdout{ codec=>"dots" }
}
}