-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Zsolt Gyulai (zgyulai) <[email protected]> Added new elasticsearch-datastream destination.
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
doc/_admin-guide/070_Destinations/035_elasticsearch-datastream/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
title: 'elasticsearch-datastream: Elasticsearch data streams' | ||
short_title: elasticsearch-datastream | ||
id: adm-dest-es-datastream | ||
description: >- | ||
From {{ site.product.short_name }} 4.8 and later versions, you can send messages and metrics to Elasticsearch data streams to store your log and metrics data as time series data. | ||
--- | ||
|
||
**Declaration** | ||
|
||
```config | ||
destination d_elastic_data_stream { | ||
elasticsearch-datastream( | ||
url("https://elastic-endpoint:9200/my-data-stream/_bulk") | ||
user("elastic") | ||
password("ba253DOn434Tc0pY22OI") | ||
); | ||
}; | ||
``` | ||
|
||
This driver is a reusable configuration snippet configured to send log messages using the http() driver using a template. You can find the Elasticsearch datastream configuration snippet on GitHub. | ||
|
||
## Prerequisites | ||
|
||
* An account for Elasticsearch datastreams with a username and a password. | ||
|
||
## Options | ||
|
||
Elasticsearch datastream is an HTTP based driver, hence it utilizes the HTTP destination options. | ||
|
||
> *Copyright © 2024 Axoflow* |