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: modules/components/pages/inputs/sftp.adoc
+29-22Lines changed: 29 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,16 +23,17 @@ Common::
23
23
--
24
24
25
25
```yml
26
-
# Common config fields, showing default values
26
+
# Common configuration fields, showing default values
27
27
input:
28
28
label: ""
29
29
sftp:
30
30
address: "" # No default (required)
31
31
credentials:
32
-
username: ""
33
-
password: ""
34
-
private_key_file: ""
35
-
private_key_pass: ""
32
+
username: "" # No default (optional)
33
+
password: "" # No default (optional)
34
+
private_key_file: "" # No default (optional)
35
+
private_key: "" # No default (optional)
36
+
private_key_pass: "" # No default (optional)
36
37
paths: [] # No default (required)
37
38
auto_replay_nacks: true
38
39
scanner:
@@ -41,7 +42,7 @@ input:
41
42
enabled: false
42
43
minimum_age: 1s
43
44
poll_interval: 1s
44
-
cache: ""
45
+
cache: "" # No default (optional)
45
46
```
46
47
47
48
--
@@ -50,16 +51,17 @@ Advanced::
50
51
--
51
52
52
53
```yml
53
-
# All config fields, showing default values
54
+
# All configuration fields, showing default values
54
55
input:
55
56
label: ""
56
57
sftp:
57
58
address: "" # No default (required)
58
59
credentials:
59
-
username: ""
60
-
password: ""
61
-
private_key_file: ""
62
-
private_key_pass: ""
60
+
username: "" # No default (optional)
61
+
password: "" # No default (optional)
62
+
private_key_file: "" # No default (optional)
63
+
private_key: "" # No default (optional)
64
+
private_key_pass: "" # No default (optional)
63
65
paths: [] # No default (required)
64
66
auto_replay_nacks: true
65
67
scanner:
@@ -69,7 +71,7 @@ input:
69
71
enabled: false
70
72
minimum_age: 1s
71
73
poll_interval: 1s
72
-
cache: ""
74
+
cache: "" # No default (optional)
73
75
```
74
76
75
77
--
@@ -87,23 +89,22 @@ You can access these metadata fields using xref:configuration:interpolation.adoc
87
89
88
90
=== `address`
89
91
90
-
The address of the server to connect to.
91
-
92
+
The address (hostname or IP address) of the SFTP server to connect to.
92
93
93
94
*Type*: `string`
94
95
95
96
96
97
=== `credentials`
97
98
98
-
The credentials to use to log into the target server.
99
+
The credentials required to log in to the SFTP server. This can include a username and password, or a private key for secure access.
99
100
100
101
101
102
*Type*: `object`
102
103
103
104
104
105
=== `credentials.username`
105
106
106
-
The username to connect to the SFTP server.
107
+
The username required to authenticate with the SFTP server.
107
108
108
109
109
110
*Type*: `string`
@@ -112,32 +113,39 @@ The username to connect to the SFTP server.
112
113
113
114
=== `credentials.password`
114
115
115
-
The password for the username to connect to the SFTP server.
116
+
The password for the username used to authenticate with the SFTP server.
116
117
117
118
include::components:partial$secret_warning.adoc[]
118
119
119
120
120
-
121
121
*Type*: `string`
122
122
123
123
*Default*: `""`
124
124
125
125
=== `credentials.private_key_file`
126
126
127
-
The private key for the username to connect to the SFTP server.
127
+
The path to a private key file used to authenticate with the SFTP server. You can also provide a private key using the <<credentials-private_key,`private_key`>> field.
128
+
129
+
*Type*: `string`
130
+
131
+
*Default*: `""`
128
132
133
+
=== `credentials.private_key`
134
+
135
+
The private key used to authenticate with the SFTP server. This field provides an alternative to the <<credentials-private_key_file, `private_key_file`>>.
Copy file name to clipboardExpand all lines: modules/components/pages/outputs/sftp.adoc
+23-18Lines changed: 23 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,18 +17,19 @@ Introduced in version 3.39.0.
17
17
endif::[]
18
18
19
19
```yml
20
-
# Config fields, showing default values
20
+
# Configuration fields, showing default values
21
21
output:
22
22
label: ""
23
23
sftp:
24
24
address: "" # No default (required)
25
25
path: "" # No default (required)
26
26
codec: all-bytes
27
27
credentials:
28
-
username: ""
29
-
password: ""
30
-
private_key_file: ""
31
-
private_key_pass: ""
28
+
username: "" # No default (optional)
29
+
password: "" # No default (optional)
30
+
private_key_file: "" # No default (optional)
31
+
private_key: "" # No default (optional)
32
+
private_key_pass: "" # No default (optional)
32
33
max_in_flight: 64
33
34
```
34
35
@@ -42,16 +43,13 @@ This output benefits from sending multiple messages in flight in parallel for im
42
43
43
44
=== `address`
44
45
45
-
The address of the server to connect to.
46
-
46
+
The address (hostname or IP address) of the SFTP server to connect to.
47
47
48
48
*Type*: `string`
49
49
50
-
51
50
=== `path`
52
51
53
-
The file to save the messages to on the server.
54
-
This field supports xref:configuration:interpolation.adoc#bloblang-queries[interpolation functions].
52
+
The file to save the messages to on the SFTP server. This field supports xref:configuration:interpolation.adoc#bloblang-queries[interpolation functions].
55
53
56
54
57
55
*Type*: `string`
@@ -92,15 +90,14 @@ codec: delim:foobar
92
90
93
91
=== `credentials`
94
92
95
-
The credentials to use to log into the target server.
96
-
93
+
The credentials required to log in to the SFTP server. This can include a username and password, or a private key for secure access.
97
94
98
95
*Type*: `object`
99
96
100
97
101
98
=== `credentials.username`
102
99
103
-
The username to connect to the SFTP server.
100
+
The username required to authenticate with the SFTP server.
104
101
105
102
106
103
*Type*: `string`
@@ -109,28 +106,36 @@ The username to connect to the SFTP server.
109
106
110
107
=== `credentials.password`
111
108
112
-
The password for the username to connect to the SFTP server.
109
+
The password for the username used to authenticate with the SFTP server.
113
110
114
111
include::components:partial$secret_warning.adoc[]
115
112
116
113
117
-
118
114
*Type*: `string`
119
115
120
116
*Default*: `""`
121
117
122
118
=== `credentials.private_key_file`
123
119
124
-
The private key for the username to connect to the SFTP server.
125
-
120
+
The path to a private key file used to authenticate with the SFTP server. You can also provide a private key using the <<credentials-private_key,`private_key`>> field.
126
121
127
122
*Type*: `string`
128
123
129
124
*Default*: `""`
130
125
126
+
=== `credentials.private_key`
127
+
128
+
The private key used to authenticate with the SFTP server. This field provides an alternative to the <<credentials-private_key_file, `private_key_file`>>.
0 commit comments