In my requirement, event have to send to different output plugin based on a field in input
This will feed to different outputs based on the 'type' field.
output{
if [type] != "dots" {
stdout{ codec=>"rubydebug" }
} else {
stdout{ codec=>"dots" }
}
}
In the event that you intend to influence reasonable sounding to pop or shake, my recommendation is run with a multi-inspected drum pack. On the off chance that you intend to influence hip bounce or electronic music, to begin with a unit of one-hit tests. Most DAWs accompany the two sorts of drums. Mostly Thesis Help | ThesisHelpSquad.co.uk for using new methods.
I can't use this:
input
{stdin {codec => json}}
output{
stdout{ codec=>
{if {[type] != "dots"} "rubydebug"
else "dots" }
}
is this some kind of data structure of ruby or logstash format?
You can't use conditionals inside plugin definitions.