Skip to content

Commit

Permalink
yaml fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Neale committed Nov 22, 2024
1 parent cbd2776 commit cd9b3ae
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
13 changes: 9 additions & 4 deletions nvidia_nim/assets/logs/nvidia_nim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@ pipeline:
- "[1730325496.647520] [dd317ab0670e:126 :0] parser.c:2305 UCX WARN (set UCX_WARN_UNUSED_ENV_VARS=n to suppress this warning)"
grok:
matchRules: |
nvidia_nim %{date("yyyy-MM-dd HH:mm:ss,SSS"):timestamp} \[%{word:level}\] \[%{data:component_name}\] \[%{word}\] %{data:msg}
nvidia_nim_logger %{word:level} %{date("yyyy-MM-dd HH:mm:ss.SSS"):timestamp} %{data:logger.name}:%{data:logger.line}\] %{data:msg}
generic_log %{date("yyyy-MM-dd HH:mm:ss,SSS"):timestamp} \[%{word:level}\] %{data:msg}
componont_log \[%{number:timestamp}\]\W+\[%{data:container_id}:%{number:pid}\W+:%{number:thread_id}\W+%{data:logger.name}:%{data:logger.line} %{word:component_name}\W+%{word:level}\W+\(%{data:msg}\)
nvidia_nim %{date("yyyy-MM-dd HH:mm:ss,SSS"):timestamp} \[%{_level}\] \[%{data:component_name}\] \[%{word}\] %{_msg}
nvidia_nim_logger %{_level} %{date("yyyy-MM-dd HH:mm:ss.SSS"):timestamp} %{_logger_name}:%{_logger_line}\] %{_msg}
generic_log %{date("yyyy-MM-dd HH:mm:ss,SSS"):timestamp} \[%{_level}\] %{_msg}
componont_log \[%{number:timestamp}\]\W+\[%{data:container_id}:%{number:pid}\W+:%{number:thread_id}\W+%{_logger_name}:%{_logger_line} %{word:component_name}\W+%{_level}\W+\(%{_msg}\)
supportRules: |
_logger_line %{data:logger.line}
_logger_name %{data:logger.name}
_level %{word:level}
_msg %{data:msg}
- type: message-remapper
name: Define `msg` as the official message of the log
enabled: true
Expand Down
6 changes: 3 additions & 3 deletions nvidia_nim/assets/logs/nvidia_nim_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ tests:
- "source:LOGS_SOURCE"
timestamp: 1730325506914
-
sample: |-
"INFO 2024-10-30 21:56:28.831 ngc_injector.py:152] Valid profile: e45b4b991bbc51d0df3ce53e87060fc3a7f76555406ed534a8479c6faa706987 (tensorrt_llm-a10g-bf16-tp4-latency) on GPUs [0, 1, 2, 3]"
result:
sample: |-
"INFO 2024-10-30 21:56:28.831 ngc_injector.py:152] Valid profile: e45b4b991bbc51d0df3ce53e87060fc3a7f76555406ed534a8479c6faa706987 (tensorrt_llm-a10g-bf16-tp4-latency) on GPUs [0, 1, 2, 3]"
result:
custom:
level: "INFO"
timestamp: 1730325388831
Expand Down

0 comments on commit cd9b3ae

Please sign in to comment.