-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Robert Fekete
authored and
Robert Fekete
committed
Aug 14, 2024
1 parent
58005e1
commit ddf59a8
Showing
9 changed files
with
186 additions
and
2 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
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
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
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
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
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
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
49 changes: 49 additions & 0 deletions
49
content/docs/configuration/plugins/syslog-ng-outputs/elasticsearch_datastream.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,49 @@ | ||
--- | ||
title: Elasticsearch datastream | ||
weight: 200 | ||
generated_file: true | ||
--- | ||
|
||
## Overview | ||
|
||
Based on the [ElasticSearch datastream destination of AxoSyslog](https://axoflow.com/docs/axosyslog-core/chapter-destinations/configuring-destinations-elasticsearch-datastream/). | ||
|
||
Available in Logging operator version 4.9 and later. | ||
|
||
## Example | ||
|
||
{{< highlight yaml >}} | ||
apiVersion: logging.banzaicloud.io/v1beta1 | ||
kind: SyslogNGOutput | ||
metadata: | ||
name: elasticsearch-datastream | ||
spec: | ||
elasticsearch-datastream: | ||
url: "https://elastic-endpoint:9200/my-data-stream/_bulk" | ||
user: "username" | ||
password: | ||
valueFrom: | ||
secretKeyRef: | ||
name: elastic | ||
key: password | ||
{{</ highlight >}} | ||
|
||
|
||
## Configuration | ||
## ElasticsearchDatastreamOutput | ||
|
||
### (HTTPOutput, required) {#elasticsearchdatastreamoutput-} | ||
|
||
|
||
### disk_buffer (*DiskBuffer, optional) {#elasticsearchdatastreamoutput-disk_buffer} | ||
|
||
This option enables putting outgoing messages into the disk buffer of the destination to avoid message loss in case of a system failure on the destination side. For details, see the [Syslog-ng DiskBuffer options](../disk_buffer/). | ||
|
||
Default: false | ||
|
||
### record (string, optional) {#elasticsearchdatastreamoutput-record} | ||
|
||
Arguments to the `$format-json()` template function. Default: `"--scope rfc5424 --exclude DATE --key ISODATE @timestamp=${ISODATE}"` | ||
|
||
|
||
|
68 changes: 68 additions & 0 deletions
68
content/docs/configuration/plugins/syslog-ng-outputs/opentelemetry.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,68 @@ | ||
--- | ||
title: OpenTelemetry output | ||
weight: 200 | ||
generated_file: true | ||
--- | ||
|
||
## Overview | ||
|
||
Sends messages over OpenTelemetry GRPC. For details on the available options of the output, see the [documentation of AxoSyslog](https://axoflow.com/docs/axosyslog-core/chapter-destinations/opentelemetry/). | ||
|
||
Available in Logging operator version 4.9 and later. | ||
|
||
## Example | ||
|
||
A simple example sending logs over OpenTelemetry GRPC to a remote OpenTelemetry endpoint: | ||
|
||
{{< highlight yaml >}} | ||
kind: SyslogNGOutput | ||
apiVersion: logging.banzaicloud.io/v1beta1 | ||
metadata: | ||
name: otlp | ||
spec: | ||
opentelemetry: | ||
url: otel-server | ||
port: 4379 | ||
{{</ highlight >}} | ||
|
||
|
||
|
||
## Configuration | ||
## OpenTelemetryOutput | ||
|
||
### (Batch, required) {#opentelemetryoutput-} | ||
|
||
Batching parameters | ||
|
||
<!-- FIXME --> | ||
|
||
|
||
### auth (*Auth, optional) {#opentelemetryoutput-auth} | ||
|
||
Authentication configuration, see the [documentation of the AxoSyslog syslog-ng distribution](https://axoflow.com/docs/axosyslog-core/chapter-destinations/destination-syslog-ng-otlp/#auth). | ||
|
||
|
||
### channel_args (filter.ArrowMap, optional) {#opentelemetryoutput-channel_args} | ||
|
||
Add GRPC Channel arguments https://axoflow.com/docs/axosyslog-core/chapter-destinations/opentelemetry/#channel-args | ||
<!-- FIXME --> | ||
|
||
|
||
### compression (*bool, optional) {#opentelemetryoutput-compression} | ||
|
||
Enable or disable compression. | ||
|
||
Default: false | ||
|
||
### disk_buffer (*DiskBuffer, optional) {#opentelemetryoutput-disk_buffer} | ||
|
||
This option enables putting outgoing messages into the disk buffer of the destination to avoid message loss in case of a system failure on the destination side. For details, see the [Syslog-ng DiskBuffer options](../disk_buffer/). | ||
|
||
Default: false | ||
|
||
### url (string, required) {#opentelemetryoutput-url} | ||
|
||
Specifies the hostname or IP address and optionally the port number of the web service that can receive log data via HTTP. Use a colon (:) after the address to specify the port number of the server. For example: `http://127.0.0.1:8000` | ||
|
||
|
||
|