feat: implement new logic for local storage and exporters

This commit is contained in:
Patryk Hegenberg 2025-09-23 14:14:53 +02:00
parent 491eeaabd7
commit 366aac9edc
11 changed files with 1170 additions and 33 deletions

View file

@ -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