-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new: added support for ecs logs format
- Loading branch information
Showing
8 changed files
with
334 additions
and
88 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Time format, see https://man7.org/linux/man-pages/man1/date.1.html for details. | ||
time-format: '%b %d %T.%3N' | ||
|
||
# Time zone name, see column "TZ identifier" at | ||
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones page. | ||
time-zone: UTC | ||
|
||
# Settings for fields processing. | ||
fields: | ||
# Configuration of the predefined set of fields. | ||
predefined: | ||
time: | ||
names: ['@timestamp'] | ||
logger: | ||
names: [log.logger] | ||
level: | ||
variants: | ||
- names: [log.level] | ||
values: | ||
debug: [debug, dbg, d] | ||
info: [info, inf, i, informational] | ||
warning: [warning, warn, wrn, w] | ||
error: [error, err, fatal, critical, panic, e] | ||
message: | ||
names: [message] | ||
caller: | ||
names: [] | ||
caller-file: | ||
names: [log.origin.file.name] | ||
caller-line: | ||
names: [log.origin.file.line] | ||
# List of wildcard field names to ignore. | ||
ignore: ['_*'] | ||
# List of exact field names to hide. | ||
hide: | ||
- log | ||
|
||
# Formatting settings. | ||
formatting: | ||
punctuation: | ||
logger-name-separator: ':' | ||
field-key-value-separator: '=' | ||
string-opening-quote: "'" | ||
string-closing-quote: "'" | ||
source-location-separator: '@ ' | ||
hidden-fields-indicator: ' ...' | ||
level-left-separator: '|' | ||
level-right-separator: '|' | ||
input-number-prefix: '#' | ||
input-number-left-separator: '' | ||
input-number-right-separator: ' | ' | ||
input-name-left-separator: '' | ||
input-name-right-separator: ' | ' | ||
input-name-clipping: '...' | ||
input-name-common-part: '...' | ||
|
||
# Number of processing threads, configured automatically based on CPU count if not specified. | ||
concurrency: ~ | ||
|
||
# Currently selected theme. | ||
theme: universal |
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
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
Oops, something went wrong.