chore(loki): Trim timestamp
This commit is contained in:
parent
16b1cb5b1f
commit
afdb5b345b
2 changed files with 14 additions and 0 deletions
|
|
@ -397,6 +397,13 @@ data:
|
||||||
loki.process "pod_logs" {
|
loki.process "pod_logs" {
|
||||||
forward_to = [loki.write.default.receiver]
|
forward_to = [loki.write.default.receiver]
|
||||||
|
|
||||||
|
stage.cri {}
|
||||||
|
stage.timestamp {
|
||||||
|
source = "timestamp"
|
||||||
|
format = "RFC3339Nano"
|
||||||
|
location = "UTC"
|
||||||
|
}
|
||||||
|
|
||||||
stage.static_labels {
|
stage.static_labels {
|
||||||
values = {
|
values = {
|
||||||
cluster = "k8s-peterg",
|
cluster = "k8s-peterg",
|
||||||
|
|
|
||||||
|
|
@ -426,6 +426,13 @@ data:
|
||||||
loki.process "pod_logs" {
|
loki.process "pod_logs" {
|
||||||
forward_to = [loki.write.default.receiver]
|
forward_to = [loki.write.default.receiver]
|
||||||
|
|
||||||
|
stage.cri {}
|
||||||
|
stage.timestamp {
|
||||||
|
source = "timestamp"
|
||||||
|
format = "RFC3339Nano"
|
||||||
|
location = "UTC"
|
||||||
|
}
|
||||||
|
|
||||||
stage.static_labels {
|
stage.static_labels {
|
||||||
values = {
|
values = {
|
||||||
cluster = "k8s-wheatley",
|
cluster = "k8s-wheatley",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue