OpenObserve Docs
ReferenceApiFunctions

List functions

Endpoint: GET /api/{organization}/functions

Request

None

Response

{
	"list": [
		{
			"stream_name": "log1",
			"name": "fun1",
			"function": "function(row) return row end",
			"order": 1,
			"num_args": 2,
			"trans_type": 0
		}
	]
}

Description

Field nameData typeDefault valueDescription
stream_namestring-the function will effect to which stream
namestring-the function name
functionstring-function body
orderint640execute order, minimum will execute first.
num_argsint64-the params num of the function
trans_typeint640
Was this page helpful?

Last updated on

On this page