Skip to content

Commit

Permalink
Fix doc generation problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Martin committed Nov 12, 2018
1 parent 7524f14 commit e303ae5
Show file tree
Hide file tree
Showing 18 changed files with 127 additions and 89 deletions.
7 changes: 7 additions & 0 deletions auditbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5054,6 +5054,13 @@ XX64 hash of the file.
[[exported-fields-http]]
[float]
== http fields
Fields related to HTTP requests and responses.
*`http.request.method`*::
+
--
Expand Down
2 changes: 1 addition & 1 deletion auditbeat/include/fields.go

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions filebeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3998,6 +3998,13 @@ Total time in milliseconds elapsed between the accept and the last close
[[exported-fields-http]]
[float]
== http fields
Fields related to HTTP requests and responses.
*`http.request.method`*::
+
--
Expand Down
2 changes: 1 addition & 1 deletion filebeat/include/fields.go

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions heartbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2480,6 +2480,13 @@ Useful if `user.id` or `user.name` contain confidential information and cannot b
[[exported-fields-http]]
[float]
== http fields
Fields related to HTTP requests and responses.
*`http.request.method`*::
+
--
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/include/fields.go

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions journalbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2773,6 +2773,13 @@ Useful if `user.id` or `user.name` contain confidential information and cannot b
[[exported-fields-http]]
[float]
== http fields
Fields related to HTTP requests and responses.
*`http.request.method`*::
+
--
Expand Down
2 changes: 1 addition & 1 deletion journalbeat/include/fields.go

Large diffs are not rendered by default.

46 changes: 27 additions & 19 deletions libbeat/_meta/fields.common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,26 +51,34 @@
- key: http
title: HTTP
fields:
- name: http.request.method
type: keyword
- name: http
title: HTTP
group: 2
description: >
http request method.
example: get, post, put
Fields related to HTTP requests and responses.
type: group
fields:

- name: http.response.status_code
type: long
description: >
http response status code.
example: 404
- name: request.method
type: keyword
description: >
http request method.
example: get, post, put

- name: http.response.body
type: text
description: >
the full http response body.
example: hello world
- name: response.status_code
type: long
description: >
http response status code.
example: 404

- name: http.version
type: keyword
description: >
http version.
example: 1.1
- name: response.body
type: text
description: >
the full http response body.
example: hello world

- name: version
type: keyword
description: >
http version.
example: 1.1
7 changes: 7 additions & 0 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8940,6 +8940,13 @@ The average queue time in ms over the last 1024 requests.
[[exported-fields-http]]
[float]
== http fields
Fields related to HTTP requests and responses.
*`http.request.method`*::
+
--
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/include/fields/fields.go

Large diffs are not rendered by default.

29 changes: 9 additions & 20 deletions packetbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ grouped in the following categories:
* <<exported-fields-ecs>>
* <<exported-fields-flows_event>>
* <<exported-fields-http>>
* <<exported-fields-http>>
* <<exported-fields-http-packetbeat>>
* <<exported-fields-icmp>>
* <<exported-fields-kubernetes-processor>>
* <<exported-fields-memcache>>
Expand Down Expand Up @@ -4739,6 +4739,13 @@ optional TCP connection id
[[exported-fields-http]]
[float]
== http fields
Fields related to HTTP requests and responses.
*`http.request.method`*::
+
--
Expand Down Expand Up @@ -4787,24 +4794,12 @@ http version.
--
[[exported-fields-http]]
[[exported-fields-http-packetbeat]]
== HTTP fields
HTTP-specific event fields.
[float]
== http fields
Information about the HTTP request and response.
[float]
== request fields
HTTP request
*`http.request.params`*::
+
--
Expand Down Expand Up @@ -4832,12 +4827,6 @@ The body of the HTTP request.
--
[float]
== response fields
HTTP response
*`http.response.code`*::
+
--
Expand Down
2 changes: 1 addition & 1 deletion packetbeat/include/fields.go

Large diffs are not rendered by default.

76 changes: 34 additions & 42 deletions packetbeat/protos/http/_meta/fields.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,40 @@
- key: http
# Additional HTTP fields used by Packetbeats
- key: http-packetbeat
title: "HTTP"
description: HTTP-specific event fields.
fields:
- name: http
type: group
description: Information about the HTTP request and response.
fields:
- name: request
description: HTTP request
type: group
fields:
- name: params
description: >
The query parameters or form values. The query parameters are available in the Request-URI
and the form values are set in the HTTP body when the content-type is set to `x-www-form-urlencoded`.
- name: headers
type: object
object_type: keyword
description: >
A map containing the captured header fields from the request.
Which headers to capture is configurable. If headers with the same
header name are present in the message, they will be separated by
commas.
- name: body
type: text
description: The body of the HTTP request.

- name: response
description: HTTP response
type: group
fields:
- name: code
description: The HTTP status code.
example: 404
- name: http.request.params
description: >
The query parameters or form values. The query parameters are available in the Request-URI
and the form values are set in the HTTP body when the content-type is set to `x-www-form-urlencoded`.
- name: phrase
description: The HTTP status phrase.
example: Not found.
- name: http.request.headers
type: object
object_type: keyword
description: >
A map containing the captured header fields from the request.
Which headers to capture is configurable. If headers with the same
header name are present in the message, they will be separated by
commas.
- name: headers
type: object
object_type: keyword
description: >
A map containing the captured header fields from the response.
Which headers to capture is configurable. If headers with the
same header name are present in the message, they will be separated
by commas.
- name: http.request.body
type: text
description: The body of the HTTP request.

- name: http.response.code
description: The HTTP status code.
example: 404

- name: http.response.phrase
description: The HTTP status phrase.
example: Not found.

- name: http.response.headers
type: object
object_type: keyword
description: >
A map containing the captured header fields from the response.
Which headers to capture is configurable. If headers with the
same header name are present in the message, they will be separated
by commas.
7 changes: 7 additions & 0 deletions winlogbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2681,6 +2681,13 @@ The XML representation of the event is useful for troubleshooting purposes. The
[[exported-fields-http]]
[float]
== http fields
Fields related to HTTP requests and responses.
*`http.request.method`*::
+
--
Expand Down
Loading

0 comments on commit e303ae5

Please sign in to comment.