You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crowdsec-docs/docs/data_sources/http.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,27 @@ labels:
63
63
type: mytype
64
64
```
65
65
66
+
:::info
67
+
If most of cases when the logs are sent in JSON format, you can use the [`transform`](https://docs.crowdsec.net/docs/next/data_sources/intro/#transform) expression to parse the logs.
68
+
69
+
For example, if the logs are sent in the following format:
Copy file name to clipboardExpand all lines: crowdsec-docs/versioned_docs/version-v1.6.0/data_sources/http.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,27 @@ labels:
63
63
type: mytype
64
64
```
65
65
66
+
:::info
67
+
If most of cases when the logs are sent in JSON format, you can use the [`transform`](https://docs.crowdsec.net/docs/next/data_sources/intro/#transform) expression to parse the logs.
68
+
69
+
For example, if the logs are sent in the following format:
0 commit comments