Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 359 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 359 Bytes

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": []
		}
	]
}