Skip to content

Commit

Permalink
Remove examples we support natively
Browse files Browse the repository at this point in the history
  • Loading branch information
mavam committed Dec 11, 2024
1 parent c469d42 commit 8f804e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 36 deletions.
10 changes: 2 additions & 8 deletions web/docs/integrations/fluent-bit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,10 @@ This allows you to ingest from beats (e.g., Filebeat, Metricbeat, Winlogbeat).
fluentbit "elasticsearch", options = {port: 9200}
```

### Send to Slack
### Send to Datadog

```tql
fluentbit "slack", options = {webhook: "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"}
```

### Send to Splunk

```tql
fluentbit "splunk", options = {host=127.0.0.1, port: 8088, tls:"on", tls.verify=:off", splunk_token:"11111111-2222-3333-4444-555555555555"}
fluentbit "datadog", options = {apikey: "XXX"}
```

### Send to ElasticSearch
Expand Down
28 changes: 0 additions & 28 deletions web/docs/tql2/operators/fluentbit.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,22 +128,6 @@ With the unflatten separator set to `.`, Tenzir reads the events like this:
```
## Examples

### Ingest OpenTelemetry logs, metrics, and traces

```tql
fluentbit "opentelemetry"
```

You can then send JSON-encoded log data to a freshly created API endpoint:

```bash
curl \
--header "Content-Type: application/json" \
--request POST \
--data '{"resourceLogs":[{"resource":{},"scopeLogs":[{"scope":{},"logRecords":[{"timeUnixNano":"1660296023390371588","body":{"stringValue":"{\"message\":\"dummy\"}"},"traceId":"","spanId":""}]}]}]}' \
http://0.0.0.0:4318/v1/logs
```

### Imitate a Splunk HEC endpoint

```tql
Expand All @@ -158,18 +142,6 @@ This allows you to ingest from beats (e.g., Filebeat, Metricbeat, Winlogbeat).
fluentbit "elasticsearch", options = { port: 9200 }
```

### Send to Slack

```tql
fluentbit "slack", options = { webhook: "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX" }
```

### Send to Splunk

```tql
fluentbit "splunk", options = { host=127.0.0.1, port: 8088, tls:"on", tls.verify=:off", splunk_token:"11111111-2222-3333-4444-555555555555" }
```

### Send to ElasticSearch

```tql
Expand Down

0 comments on commit 8f804e1

Please sign in to comment.