Skip to content

Commit f0281f4

Browse files
authored
[Logs] Update Log fields (#19209)
Co-authored-by: Sohei Gallagher <[email protected]>
1 parent 2ad2a1d commit f0281f4

File tree

2 files changed

+159
-5
lines changed

2 files changed

+159
-5
lines changed

src/content/docs/logs/reference/log-fields/account/gateway_dns.md

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,17 @@ Type: `string`
8181

8282
IP and port combo used to resolve the custom dns resolver query, if any.
8383

84-
## CustomResolverPolicyID
84+
## CustomResolverPolicyID (deprecated)
8585

8686
Type: `string`
8787

88-
Custom resolver policy UUID, if matched.
88+
Custom resolver policy UUID, if matched. Deprecated by ResolverPolicyID.
8989

90-
## CustomResolverPolicyName
90+
## CustomResolverPolicyName (deprecated)
9191

9292
Type: `string`
9393

94-
Custom resolver policy name, if matched.
94+
Custom resolver policy name, if matched. Deprecated by ResolverPolicyName.
9595

9696
## CustomResolverResponse
9797

@@ -165,6 +165,30 @@ Type: `array[string]`
165165

166166
Name or names of category that the queried domains belongs to (for example, ['Photography', 'Weather']).
167167

168+
## InternalDNSFallbackStrategy
169+
170+
Type: `string`
171+
172+
The fallback strategy applied over the internal DNS response. Empty if no fallback strategy was applied.
173+
174+
## InternalDNSRCode
175+
176+
Type: `int`
177+
178+
The return code sent back by the internal DNS service.
179+
180+
## InternalDNSViewID
181+
182+
Type: `string`
183+
184+
The DNS internal view identifier that was sent to the internal DNS service.
185+
186+
## InternalDNSZoneID
187+
188+
Type: `string`
189+
190+
The DNS zone identifier returned by the internal DNS service.
191+
168192
## IsResponseCached
169193

170194
Type: `bool`
@@ -339,6 +363,18 @@ Type: `string`
339363

340364
Result of the DNS query (for example, 'overrideForSafeSearch').
341365

366+
## ResolverPolicyID
367+
368+
Type: `string`
369+
370+
Resolver policy UUID, if any matched.
371+
372+
## ResolverPolicyName
373+
374+
Type: `string`
375+
376+
Resolver policy name, if any matched.
377+
342378
## ResourceRecords
343379

344380
Type: `array[object]`
@@ -349,7 +385,7 @@ The rdata objects (for example, [{"type":"5","data":"dns-packet-placeholder..."}
349385

350386
Type: `string`
351387

352-
String that represents the JSON array with the returned resource records (for example, "[{\"name\": \"example.com\", \"type\": \"CNAME\", \"class\": \"IN\", \"ttl\": 3600, \"rdata\": \"cname.example.com.\"}]").
388+
String that represents the JSON array with the returned resource records (for example, '[{"name": "example.com", "type": "CNAME", "class": "IN", "ttl": 3600, "rdata": "cname.example.com."}]').
353389

354390
## SrcIP
355391

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
---
2+
# Code generator. DO NOT EDIT.
3+
4+
title: SSH Logs
5+
pcx_content_type: configuration
6+
sidebar:
7+
order: 21
8+
---
9+
10+
The descriptions below detail the fields available for `ssh_logs`.
11+
12+
## AccountID
13+
14+
Type: `string`
15+
16+
Cloudflare account ID.
17+
18+
## ClientAddress
19+
20+
Type: `string`
21+
22+
Source address of the SSH command.
23+
24+
## Datetime
25+
26+
Type: `int or string`
27+
28+
Timestamp in UTC of when this message is being sent.
29+
30+
## Error
31+
32+
Type: `string`
33+
34+
SSH error. Only used if an error occurred.
35+
36+
## PTY
37+
38+
Type: `string`
39+
40+
Used by certain programs when running interactive shells to synchronize local with remote SSH terminal state.
41+
42+
## Payload
43+
44+
Type: `string`
45+
46+
Captured request/response data, base64-encoded in asciinema .cast format. This includes the command associated with the "exec" program type.
47+
48+
## ProgramFinishDatetime
49+
50+
Type: `int or string`
51+
52+
The date and time the specific SSH program was completed. This is empty until the program ends.
53+
54+
## ProgramID
55+
56+
Type: `string`
57+
58+
SSH program ID, a single SSH session can have multiple programs running.
59+
60+
## ProgramStartDatetime
61+
62+
Type: `int or string`
63+
64+
The date and time the specific SSH program started.
65+
66+
## ProgramType
67+
68+
Type: `string`
69+
70+
The SSH program being run e.g. "shell": default user's shell on target machine, "exec": execute provided command (used with "cmd" below), "x11": an interactive graphical environment, "direct-tcpip": direct tunneling, "forwarded-tcpip": reverse tunneling
71+
72+
## ServerAddress
73+
74+
Type: `string`
75+
76+
Destination address for the SSH command.
77+
78+
## SessionFinishDatetime
79+
80+
Type: `int or string`
81+
82+
The date and time the SSH session was completed. This is empty until the session ends.
83+
84+
## SessionID
85+
86+
Type: `string`
87+
88+
SSH session ID.
89+
90+
## SessionStartDatetime
91+
92+
Type: `int or string`
93+
94+
The date and time the SSH session was created.
95+
96+
## TargetID
97+
98+
Type: `string`
99+
100+
Identifier for which target is being accessed.
101+
102+
## UserEmail
103+
104+
Type: `string`
105+
106+
User email address.
107+
108+
## UserID
109+
110+
Type: `string`
111+
112+
Cloudflare user ID.
113+
114+
## Username
115+
116+
Type: `string`
117+
118+
Principal user being accessed on SSH server's machine. Empty if error raised when establishing connection.

0 commit comments

Comments
 (0)