feat: implement new logic for local storage and exporters
This commit is contained in:
parent
491eeaabd7
commit
366aac9edc
11 changed files with 1170 additions and 33 deletions
|
|
@ -159,6 +159,9 @@ func (jep *JournalEntryParser) Parse(jsonLine string) (LogEntry, error) {
|
|||
if machineID, ok := journalData["_MACHINE_ID"].(string); ok {
|
||||
entry.MachineID = machineID
|
||||
}
|
||||
if hostname, ok := journalData["_HOSTNAME"].(string); ok {
|
||||
entry.Host = hostname
|
||||
}
|
||||
|
||||
entry.Raw = jsonLine
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue