Преглед на файлове

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

Thibault bui Koechlin преди 5 години
родител
ревизия
e6536a7265
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 */