Skip to content

Commit

Permalink
remove redundant log fields from vector (#1531)
Browse files Browse the repository at this point in the history
  • Loading branch information
goastler authored Nov 20, 2024
1 parent 711e49d commit 9894ee0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker/images/vector/vector.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ del(.message)
del(.timestamp)
del(._timestamp)
.host="$OO_HOST"
del(.date)
'''

# print to console the provider logs
Expand Down Expand Up @@ -75,6 +76,9 @@ del(.timeNano)
del(.source_type)
del(.timestamp)
del(._timestamp)
del(.pid)
del(.stream)
del(.command)
'''

# print docker events to console
Expand Down Expand Up @@ -114,6 +118,8 @@ del(.user_id)
del(.size)
del(.message)
del(.resp_headers)
del(.bytes_read)
del(.logger)
'''

# send to openobserve
Expand Down Expand Up @@ -141,6 +147,7 @@ source = '''
.=parse_json!(string!(.message))
.host="$OO_HOST"
del(.time)
del(.notify)
'''

# send to openobserve
Expand Down

0 comments on commit 9894ee0

Please sign in to comment.