Skip to content

Commit 4ae2f59

Browse files
committed
Added new elasticsearch-datastream destination.
Signed-off-by: Zsolt Gyulai (zgyulai) <zsolt.gyulai@quest.com>
1 parent a5ab0d4 commit 4ae2f59

File tree

1 file changed

+30
-0
lines changed
  • doc/_admin-guide/070_Destinations/035_elasticsearch-datastream

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: 'elasticsearch-datastream: Elasticsearch data streams'
3+
short_title: elasticsearch-datastream
4+
id: adm-dest-es-datastream
5+
description: >-
6+
From syslog-ng OSE 4.8 and later versions, you can send messages and metrics to [Elasticsearch data streams](https://www.elastic.co/guide/en/elasticsearch/reference/current/data-streams.html) to store your log and metrics data as time series data..
7+
---
8+
9+
**Declaration**
10+
11+
```config
12+
destination d_elastic_data_stream {
13+
elasticsearch-datastream(
14+
url("https://elastic-endpoint:9200/my-data-stream/_bulk")
15+
user("elastic")
16+
password("ba253DOn434Tc0pY22OI")
17+
);
18+
};
19+
```
20+
This driver is a reusable configuration snippet configured to send log messages using the http() driver using a template. You can find the source of this configuration snippet on [GitHub](https://github.com/axoflow/axosyslog/blob/main/scl/elasticsearch/elastic-datastream.conf).
21+
22+
## Prerequisites
23+
24+
* An account for Elasticsearch datastreams with a username and a password.
25+
26+
## Options
27+
28+
Elasticsearch datastream is an HTTP based driver, hence it utilizes the HTTP destination options.
29+
30+
> *Copyright © 2024 Axoflow*

0 commit comments

Comments
 (0)