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: docs/index.asciidoc
+110Lines changed: 110 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,36 @@ The above snippet will create two files `downloaded_cert.pem` and `downloaded_tr
87
87
----------------------------------
88
88
89
89
90
+
[id="plugins-{type}s-{plugin}-ecs_metadata"]
91
+
==== Event Metadata and the Elastic Common Schema (ECS)
92
+
93
+
This input will add metadata about the HTTP connection itself to each event.
94
+
95
+
When ECS compatibility is disabled, metadata was added to a variety of non-standard top-level fields, which has the potential to create confusion and schema conflicts downstream.
96
+
97
+
With ECS Compatibility Mode, we can ensure a pipeline maintains access to this metadata throughout the event's lifecycle without polluting the top-level namespace.
| [@metadata][code] | [@metadata][input][http_poller][response][status_code] | When server responds a valid status code | HTTP response code
106
+
| [@metadata][response_headers] | [@metadata][input][http_poller][response][headers] | When server responds with headers | HTTP headers of the response
107
+
| [@metadata][response_message] | [@metadata][input][http_poller][response][status_message] | When server responds with status line | message of status line of HTTP headers
108
+
| [@metadata][runtime_seconds] | [@metadata][input][http_poller][response][elapsed_time_ns] | When server responds a valid status code | elapsed time of calling endpoint. ECS v1 shows in nanoseconds.
109
+
| [http_request_failure][runtime_seconds] | [event][duration] | When server throws exception | elapsed time of calling endpoint. ECS v1 shows in nanoseconds.
110
+
| [@metadata][times_retried] | [@metadata][input][http_poller][request][retry_count] | When the poller calls server successfully | retry count from http client library
111
+
| [@metadata][name] / [http_request_failure][name] | [@metadata][input][http_poller][request][name] | Always | The key of `urls` from poller config
112
+
| [@metadata][request] / [http_request_failure][request]| [@metadata][input][http_poller][request][original] | Always | The whole object of `urls` from poller config
113
+
| [http_request_failure][error] | [error][message] | When server throws exception | Error message
114
+
| [http_request_failure][backtrace] | [error][stack_trace] | When server throws exception | Stack trace of error
115
+
| -- | [url][full] | When server throws exception | The URL of the endpoint
116
+
| -- | [http][request][method] | When server throws exception | HTTP request method
117
+
| -- | [host][hostname] | When server throws exception | Hostname
Copy file name to clipboardExpand all lines: logstash-input-http_poller.gemspec
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
Gem::Specification.newdo |s|
2
2
s.name='logstash-input-http_poller'
3
-
s.version='5.0.2'
3
+
s.version='5.1.0'
4
4
s.licenses=['Apache License (2.0)']
5
5
s.summary="Decodes the output of an HTTP API into events"
6
6
s.description="This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
0 commit comments