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: src/content/docs/ai-gateway/observability/logpush.mdx
+14-3Lines changed: 14 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,10 @@ sidebar:
8
8
9
9
import { Render } from"~/components";
10
10
11
-
AI Gateway allows you to securely export logs to an external storage location, where you can decrypt and process them. This guide explains how to set up Logpush for AI Gateway, generate an RSA key pair for encryption, and decrypt the logs once they are received.
11
+
AI Gateway allows you to securely export logs to an external storage location, where you can decrypt and process them.
12
+
You can toggle Logpush on and off in the [Cloudflare dashboard](https://dash.cloudflare.com) settings.
13
+
14
+
This guide explains how to set up Logpush for AI Gateway, generate an RSA key pair for encryption, and decrypt the logs once they are received.
12
15
Logpush has a limit of 4 jobs. If you have reached the [limit of logs stored for your plan](/ai-gateway/reference/limits/), logs will not be exported through Logpush.
This script will output your RSA privateKey and publicKey. Keep the private key secure, as it will be used to decrypt the logs.
53
+
49
54
## 2. Upload public key to gateway settings
50
55
51
-
Once you have generated the key pair, upload the public key to your AI Gateway settings. This key will be used to encrypt your logs.
56
+
Once you have generated the key pair, upload the public key to your AI Gateway settings. This key will be used to encrypt your logs. For more information on Logpush refer to [Logs](/logs/get-started/).
57
+
58
+
:::note[Note]
59
+
You should enable Logpush in AI Gateway settings. This option only shows up when logs are enabled.
60
+
You can toggle on or off as needed. If you do not have logs turned on nothing will be saved.
61
+
62
+
:::
52
63
53
64
## 3. Receive encrypted logs
54
65
55
-
After configuring Logpush, logs will be sent encrypted using the public key you uploaded. To access the data, you will need to decrypt it using your private key.
66
+
After configuring Logpush, logs will be sent encrypted using the public key you uploaded. To access the data, you will need to decrypt it using your private key. The logs will be sent to the object storage provider that you have selected.
0 commit comments