Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(journald source): Handle missing source timestamp (#2387)
* fix(journald source): Handle missing source timestamp If a source does not give journald a timestamp, the resulting record will be missing the `_SOURCE_REALTIME_TIMESTAMP` field that this source relies on. This patch adds a fallback to `__REALTIME_TIMESTAMP` if the above is not available, which is always present. Signed-off-by: Bruce Guenter <bruce@timber.io>
- Loading branch information
1 parent
4d76e75
commit b1c8421
Showing
1 changed file
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters