Skip to content

Latest commit

 

History

History

cond

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

gogstash cond elastic

Condition syntax is same as filter/cond.

Synopsis

{
	"output": [
		{
			"type": "cond",

			// (required)
			"condition": "level == 'ERROR'",

			// (required)
			"output": [

				// output config
				{ "type": "stdout" }

			]

			// (optional)
			"else_output": []
		}
	]
}