File tree Expand file tree Collapse file tree 4 files changed +30
-21
lines changed Expand file tree Collapse file tree 4 files changed +30
-21
lines changed Original file line number Diff line number Diff line change 1+ connectors:
2+ forward: {}
3+ exporters:
4+ elasticsearch/componentid-0:
5+ endpoints:
6+ - https://elasticsearch:9200
17inputs: []
28output_permissions:
39 default:
@@ -13,8 +19,16 @@ output_permissions:
1319 privileges:
1420 - auto_configure
1521 - create_doc
22+ processors:
23+ transform/componentid-0:
24+ metric_statements:
25+ - context: datapoint
26+ statements:
27+ - set(attributes["data_stream.type"], "metrics")
28+ - set(attributes["data_stream.dataset"], "httpcheck.httpcheckreceiver")
29+ - set(attributes["data_stream.namespace"], "ep")
1630receivers:
17- httpcheck/componentid:
31+ httpcheck/componentid-0 :
1832 collection_interval: 1m
1933 targets:
2034 - endpoints:
@@ -24,5 +38,14 @@ secret_references: []
2438service:
2539 pipelines:
2640 metrics:
41+ exporters:
42+ - elasticsearch/componentid-0
2743 receivers:
28- - httpcheck/componentid
44+ - forward
45+ metrics/componentid-0:
46+ exporters:
47+ - forward
48+ processors:
49+ - transform/componentid-0
50+ receivers:
51+ - httpcheck/componentid-0
Original file line number Diff line number Diff line change 33 period : 1s
44 endpoints :
55 - http://{{Hostname}}:{{Port}}
6+ assert :
7+ min_count : 50
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- format_version : 3.4 .0
1+ format_version : 3.5 .0
22name : httpcheck
33title : " Simple HTTP Check"
44version : 0.0.1
@@ -12,7 +12,7 @@ categories:
1212 - web
1313conditions :
1414 kibana :
15- version : " ^9.0 .0"
15+ version : " ^9.2 .0"
1616 elastic :
1717 subscription : " basic"
1818screenshots :
2626 size : 32x32
2727 type : image/svg+xml
2828policy_templates :
29- - name : check
29+ - name : httpcheckreceiver
3030 type : metrics
3131 title : HTTP Check
3232 description : Perform HTTP checks and collect its results.
@@ -67,10 +67,6 @@ policy_templates:
6767 multi : true
6868 required : false
6969 show_user : false
70- elasticsearch :
71- index_template :
72- mappings :
73- subobjects : false
7470owner :
7571 github : elastic/ecosystem
7672 type : elastic
You can’t perform that action at this time.
0 commit comments