Skip to content

Commit 8343f11

Browse files
Elasticsearch-datastream (#152)
Signed-off-by: Zsolt Gyulai (zgyulai) <[email protected]> Added new elasticsearch-datastream destination.
2 parents fdad7fa + 5096a60 commit 8343f11

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

_data/external_links.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,11 @@ gh-es:
608608
url: https://github.com/syslog-ng/syslog-ng/tree/master/scl/elasticsearch
609609
title: [ "Elasticsearch configuration snippet on GitHub" ]
610610

611+
gh-es-ds:
612+
id: gh-es-ds
613+
url: https://github.com/syslog-ng/syslog-ng/blob/master/scl/elasticsearch/elastic-datastream.conf
614+
title: [ "Elasticsearch datastream configuration snippet on GitHub" ]
615+
611616
gh-fortigate:
612617
id: gh-fortigate
613618
url: https://github.com/syslog-ng/syslog-ng/blob/master/scl/fortigate/fortigate.conf
@@ -796,6 +801,11 @@ ebpf:
796801
url: https://ebpf.io/
797802
title: [ "Extended Berkeley Packet Filter" ]
798803

804+
elastic-ds:
805+
id: elastic-ds
806+
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/data-streams.html
807+
title: [ "Elasticsearch data streams" ]
808+
799809
gcp-ser:
800810
id: gcp-ser
801811
url: https://cloud.google.com/iam/docs/service-account-overview
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: 'elasticsearch-datastream: Elasticsearch data streams'
3+
short_title: elasticsearch-datastream
4+
id: adm-dest-es-datastream
5+
description: >-
6+
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.
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+
21+
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.
22+
23+
## Prerequisites
24+
25+
* An account for Elasticsearch datastreams with a username and a password.
26+
27+
## Options
28+
29+
Elasticsearch datastream is an HTTP based driver, hence it utilizes the HTTP destination options.
30+
31+
> *Copyright © 2024 Axoflow*

0 commit comments

Comments
 (0)