Browse Source

don't strip Parsed, it is useful to keep track of types.Event changes

Thibault bui Koechlin 5 năm trước cách đây
mục cha
commit
e6536a7265
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pkg/types/event.go

+ 1 - 1
pkg/types/event.go

@@ -21,7 +21,7 @@ type Event struct {
 	/* original line (produced by acquisition) */
 	Line Line `json:"-" yaml:"Line,omitempty"`
 	/* output of groks */
-	Parsed map[string]string `json:"-" yaml:"Parsed,omitempty"`
+	Parsed map[string]string `json:"Parsed,omitempty" yaml:"Parsed,omitempty"`
 	/* output of enrichment */
 	Enriched map[string]string `json:"Enriched,omitempty" yaml:"Enriched,omitempty"`
 	/* Overflow */