diff --git a/docs/user_guide/event_processors/event_plugin.md b/docs/user_guide/event_processors/event_plugin.md index 5f81c748..2569bdca 100644 --- a/docs/user_guide/event_processors/event_plugin.md +++ b/docs/user_guide/event_processors/event_plugin.md @@ -127,3 +127,19 @@ func main() { }) } ``` + +#### Return value + +The data model of the return event is: + +```go +type EventMsg struct { + Name string `json:"name,omitempty"` + Timestamp int64 `json:"timestamp,omitempty"` + Tags map[string]string `json:"tags,omitempty"` + Values map[string]interface{} `json:"values,omitempty"` + Deletes []string `json:"deletes,omitempty"` +} +``` + +However `Value` only support based type as value.