Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
salt-formulas
fbk-formulas
Loki Formula
Commits
ebd2523d
Commit
ebd2523d
authored
Aug 13, 2019
by
Benjamin DUPUIS
Browse files
update config for syslog
parent
e9f74cd7
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
ebd2523d
...
@@ -91,4 +91,10 @@ loki:
...
@@ -91,4 +91,10 @@ loki:
relabel_configs
:
relabel_configs
:
-
source_labels
:
[
'
__journal__systemd_unit'
]
-
source_labels
:
[
'
__journal__systemd_unit'
]
target_label
:
'
unit'
target_label
:
'
unit'
-
source_labels
:
-
__journal__hostname
target_label
:
hostname
-
source_labels
:
-
__journal_syslog_identifier
target_label
:
identifier
```
```
loki/defaults.yaml
View file @
ebd2523d
...
@@ -77,4 +77,11 @@ loki:
...
@@ -77,4 +77,11 @@ loki:
relabel_configs
:
relabel_configs
:
-
source_labels
:
[
'
__journal__systemd_unit'
]
-
source_labels
:
[
'
__journal__systemd_unit'
]
target_label
:
'
unit'
target_label
:
'
unit'
-
source_labels
:
-
__journal__hostname
target_label
:
hostname
-
source_labels
:
-
__journal_syslog_identifier
target_label
:
identifier
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment