@@ -112,23 +112,25 @@ You can found more examples in `test/plugin/test_in_http_pull.rb`
112112
113113## Configuration
114114
115- ### tag (string) (required)
115+ ### Basic options
116+
117+ #### tag (string) (required)
116118
117119The tag of the event.
118120
119- ### url (string) (required)
121+ #### url (string) (required)
120122
121123The url of remote server.
122124
123- ### agent (string) (optional, default: fluent-plugin-http-pull)
125+ #### agent (string) (optional, default: fluent-plugin-http-pull)
124126
125127The user agent string of request.
126128
127- ### interval (time) (required)
129+ #### interval (time) (required)
128130
129131The interval time between periodic request.
130132
131- ### format (required)
133+ #### format (required)
132134
133135The format of the response body. Due to limitation of current implement it is
134136always required regardless ` status_only ` option.
@@ -137,11 +139,11 @@ always required regardless `status_only` option.
137139[ parser article] ( https://docs.fluentd.org/v0.12/articles/parser-plugin-overview )
138140for more detail.
139141
140- ### status_only (bool) (optional, default: false)
142+ #### status_only (bool) (optional, default: false)
141143
142144If ` status_only ` is true, body is not parsed.
143145
144- ### http_method (enum) (optional, default: : get )
146+ ###E http_method (enum) (optional, default: : get )
145147
146148The http request method for each requests. Avaliable options are listed below.
147149
@@ -151,30 +153,51 @@ The http request method for each requests. Avaliable options are listed below.
151153
152154If ` status_only ` is true, ` http_method ` was override to ` head `
153155
154- ### timeout (time) (optional, default: 10s)
156+ #### timeout (time) (optional, default: 10s)
155157
156158The timeout of each request.
157159
158- ### proxy (string) (optional, default: nil)
160+ ### Proxy options`
161+
162+ #### proxy (string) (optional, default: nil)
159163
160164The HTTP proxy URL to use for each requests
161165
162- ### user (string) (optional, default: nil)
166+ ### Basic auth options
167+
168+ #### user (string) (optional, default: nil)
163169
164170The user for basic auth
165171
166- ### password (string) (optional, default: nil)
172+ #### password (string) (optional, default: nil)
167173
168174The password for basic auth
169175
170- ### response_header (section) (optional, default: nil)
176+ ### Req/Resp header options
177+
178+ #### response_header (section) (optional, default: nil)
171179
172180The name of response header for capture.
173181
174- ### request_header (section) (optional, default: nil)
182+ #### request_header (section) (optional, default: nil)
175183
176184The name, value pair of custom reuqest header.
177185
186+ ### SSL options
187+
188+ #### verify_ssl (bool) (optional, default: true)
189+
190+ When false, SSL verification is ignored.
191+
192+ #### ca_path (string) (optional, defualt: nil)
193+
194+ The absolute path of directory where ca_file stored. Should be used with ` ca_file ` .
195+
196+ #### ca_file (string) (optional, defualt: nil)
197+
198+ The Absolute path of ca_file. Should be used with ` ca_path ` .
199+
200+
178201## In case of remote error
179202
180203### Can receive response from remote
0 commit comments