Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions _data/external_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,11 @@ gh-es:
url: https://github.com/syslog-ng/syslog-ng/tree/master/scl/elasticsearch
title: [ "Elasticsearch configuration snippet on GitHub" ]

gh-es-ds:
id: gh-es-ds
url: https://github.com/syslog-ng/syslog-ng/blob/master/scl/elasticsearch/elastic-datastream.conf
title: [ "Elasticsearch datastream configuration snippet on GitHub" ]

gh-fortigate:
id: gh-fortigate
url: https://github.com/syslog-ng/syslog-ng/blob/master/scl/fortigate/fortigate.conf
Expand Down Expand Up @@ -796,6 +801,11 @@ ebpf:
url: https://ebpf.io/
title: [ "Extended Berkeley Packet Filter" ]

elastic-ds:
id: elastic-ds
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/data-streams.html
title: [ "Elasticsearch data streams" ]

gcp-ser:
id: gcp-ser
url: https://cloud.google.com/iam/docs/service-account-overview
Expand Down
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*