Skip to content

Commit d7e5e30

Browse files
committed
Time to Timestamp
1 parent f9f52b4 commit d7e5e30

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

  • aws/logs_monitoring_go/internal/model

aws/logs_monitoring_go/internal/model/log.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
package model
77

88
type LogEntry struct {
9-
ID string `json:"id,omitempty"`
10-
Time int64 `json:"timestamp,omitempty"`
11-
Message string `json:"message,omitempty"`
12-
Source string `json:"ddsource"`
13-
Service string `json:"service,omitempty"`
14-
Host string `json:"hostname,omitempty"`
15-
Tags []string `json:"ddtags"`
16-
AWS AWSMetadata `json:"aws"`
9+
ID string `json:"id,omitempty"`
10+
Timestamp int64 `json:"timestamp,omitempty"`
11+
Message string `json:"message,omitempty"`
12+
Source string `json:"ddsource"`
13+
Service string `json:"service,omitempty"`
14+
Host string `json:"hostname,omitempty"`
15+
Tags []string `json:"ddtags"`
16+
AWS AWSMetadata `json:"aws"`
1717
}
1818

1919
type AWSMetadata struct {

0 commit comments

Comments
 (0)