Skip to content

Commit 8125152

Browse files
committed
rsyslog: Copy-editing
1 parent c6ab900 commit 8125152

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/integrate/rsyslog/usage.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
(rsyslog-usage)=
2-
# Store server logs on CrateDB for fast search and aggregations
2+
# Using rsyslog to store server logs in CrateDB
3+
4+
:::{div} sd-text-muted
5+
Store server logs in CrateDB for fast search and aggregations.
6+
:::
37

48
## Introduction
59

@@ -97,7 +101,7 @@ CrateDB now stores new rows in `doc.systemevents`, with `syslogtag` matching the
97101
Use {ref}`crate-reference:predicates_match` to find specific error messages:
98102

99103
```sql
100-
SELECT devicereportedtime,message
104+
SELECT devicereportedtime, message
101105
FROM doc.systemevents
102106
WHERE MATCH(message_ft, 'Could not reliably determine') USING PHRASE
103107
ORDER BY 1 DESC;
@@ -115,7 +119,7 @@ ORDER BY 1 DESC;
115119
Show the top log sources by event count:
116120

117121
```sql
118-
SELECT syslogtag,count(*)
122+
SELECT syslogtag, count(*)
119123
FROM doc.systemevents
120124
GROUP BY 1
121125
ORDER BY 2 DESC

0 commit comments

Comments
 (0)