Skip to content

Commit

Permalink
Adding Rabbitmq default parsing rule
Browse files Browse the repository at this point in the history
Adding an entry into our default parsing rules showing how to leverage our default parsing rule for Rabbitmq
  • Loading branch information
lchapman4 committed Mar 23, 2022
1 parent 54dea8a commit 16815f4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/content/docs/logs/ui-data/built-log-parsing-rules.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1332,6 +1332,28 @@ New Relic can parse common log formats according to built-in rules, so that you

</Collapser>

<Collapser
id="rabbitmq"
title="Rabbitmq"
>

**Source:** `logtype = 'rabbitmq'`

**Grok:**

```
%{TIMESTAMP_ISO8601:rabbitmq.timestamp} \[%{LOGLEVEL:rabbitmq.log.level}\] \<%{DATA:rabbitmq.pid}\> %{GREEDYDATA:rabbitmq.message}
```

**Results:**

* `redistimestamp`: The timestamp of the log
* `rabbitmq.log.level`: The log level of the message (debug, info, warning, error, critical, none)
* `rabbitmq.pid`: The process id of the log line
* `rabbitmq.message`: The rabbitmq error message

</Collapser>

<Collapser
id="redis"
title="Redis"
Expand Down

0 comments on commit 16815f4

Please sign in to comment.