Skip to content

Commit

Permalink
[processor/transform] Fix example (open-telemetry#27098)
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHelmuth authored and jmsnll committed Nov 12, 2023
1 parent 4c25a00 commit c23128b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions processor/transformprocessor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,9 @@ transform:
log_statements:
- context: log
statements:
- set(severity_number, SEVERITY_NUMBER_INFO) where IsString(body) and IsMatch(body, "\sINFO\s")
- set(severity_number, SEVERITY_NUMBER_WARN) where IsString(body) and IsMatch(body, "\sWARN\s")
- set(severity_number, SEVERITY_NUMBER_ERROR) where IsString(body) and IsMatch(body, "\sERROR\s")
- set(severity_number, SEVERITY_NUMBER_INFO) where IsString(body) and IsMatch(body, "\\sINFO\\s")
- set(severity_number, SEVERITY_NUMBER_WARN) where IsString(body) and IsMatch(body, "\\sWARN\\s")
- set(severity_number, SEVERITY_NUMBER_ERROR) where IsString(body) and IsMatch(body, "\\sERROR\\s")
```

## Contributing
Expand Down

0 comments on commit c23128b

Please sign in to comment.