Skip to content

Commit bd6f10b

Browse files
authored
Update API token placeholders in Elastic Beats (#243)
1 parent da900e0 commit bd6f10b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

send-data/elastic-beats.mdx

+10-10
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ filebeat.inputs:
5757
- $PATH_TO_LOG_FILE
5858
output.elasticsearch:
5959
hosts: ['https://api.axiom.co:443/v1/datasets/DATASET_NAME/elastic']
60-
api_key: 'axiom:$TOKEN'
60+
api_key: 'API_TOKEN'
6161
allow_older_versions: true
6262
```
6363
@@ -92,7 +92,7 @@ metricbeat.modules:
9292
output.elasticsearch:
9393
hosts: ["https://api.axiom.co:443/v1/datasets/DATASET_NAME/elastic"]
9494
# Specify Axiom API token
95-
api_key: 'axiom:$TOKEN'
95+
api_key: 'API_TOKEN'
9696
allow_older_versions: true
9797
```
9898
@@ -118,7 +118,7 @@ metricbeat.modules:
118118
# Add other AWS configurations if needed
119119
output.elasticsearch:
120120
hosts: ["https://api.axiom.co:443/v1/datasets/DATASET_NAME/elastic"]
121-
api_key: 'axiom:$TOKEN'
121+
api_key: 'API_TOKEN'
122122
allow_older_versions: true
123123
```
124124
@@ -171,7 +171,7 @@ logging.level: info
171171
output.elasticsearch:
172172
hosts: ['https://api.axiom.co:443/v1/datasets/DATASET_NAME/elastic']
173173
# token should be an API token
174-
api_key: 'axiom:$TOKEN'
174+
api_key: 'API_TOKEN'
175175
allow_older_versions: true
176176
```
177177

@@ -224,7 +224,7 @@ output.elasticsearch:
224224
protocol: "https"
225225
ssl.verification_mode: "full"
226226
# token should be an API token
227-
api_key: 'axiom:$TOKEN'
227+
api_key: 'API_TOKEN'
228228
allow_older_versions: true
229229
```
230230

@@ -246,7 +246,7 @@ winlogbeat.event_logs:
246246
output.elasticsearch:
247247
hosts: ['https://api.axiom.co:443/v1/datasets/DATASET_NAME/elastic']
248248
# token should be an API token
249-
api_key: 'axiom:$TOKEN'
249+
api_key: 'API_TOKEN'
250250
allow_older_versions: true
251251
ssl.verification_mode: "certificate"
252252
@@ -318,7 +318,7 @@ heartbeat.monitors:
318318
output.elasticsearch:
319319
hosts: ['https://api.axiom.co:443/v1/datasets/DATASET_NAME/elastic']
320320
# token should be an API token
321-
api_key: 'axiom:$TOKEN'
321+
api_key: 'API_TOKEN'
322322
allow_older_versions: true
323323
```
324324

@@ -363,7 +363,7 @@ auditbeat.modules:
363363
output.elasticsearch:
364364
hosts: ['https://api.axiom.co:443/v1/datasets/DATASET_NAME/elastic']
365365
# token should be an API token
366-
api_key: 'axiom:$TOKEN'
366+
api_key: 'API_TOKEN'
367367
allow_older_versions: true
368368
```
369369

@@ -451,7 +451,7 @@ protocols:
451451
output.elasticsearch:
452452
hosts: ['https://api.axiom.co:443/v1/datasets/DATASET_NAME/elastic']
453453
# api_key should be your API token
454-
api_key: 'axiom:$TOKEN'
454+
api_key: 'API_TOKEN'
455455
allow_older_versions: true
456456
```
457457

@@ -493,7 +493,7 @@ journalbeat.inputs:
493493
output.elasticsearch:
494494
hosts: ['https://api.axiom.co:443/v1/datasets/DATASET_NAME/elastic']
495495
# token should be an API token
496-
api_key: 'axiom:$TOKEN'
496+
api_key: 'API_TOKEN'
497497
allow_older_versions: true
498498
```
499499

0 commit comments

Comments
 (0)