|
4 | 4 | enabled: false
|
5 | 5 | metrics: true
|
6 | 6 | inputs:
|
7 |
| -- id: filestream-monitoring-agent |
| 7 | +- _runtime_experimental: otel |
| 8 | + id: filestream-monitoring-agent |
8 | 9 | name: filestream-monitoring-agent
|
9 | 10 | streams:
|
10 | 11 | - close:
|
@@ -104,7 +105,8 @@ inputs:
|
104 | 105 | type: filestream
|
105 | 106 | type: filestream
|
106 | 107 | use_output: monitoring
|
107 |
| -- data_stream: |
| 108 | +- _runtime_experimental: otel |
| 109 | + data_stream: |
108 | 110 | namespace: default
|
109 | 111 | id: metrics-monitoring-beats
|
110 | 112 | name: metrics-monitoring-beats
|
@@ -148,6 +150,14 @@ inputs:
|
148 | 150 | binary: metricbeat
|
149 | 151 | id: beat/metrics-monitoring
|
150 | 152 | target: component
|
| 153 | + - drop_fields: |
| 154 | + fields: |
| 155 | + - beat.stats.cgroup |
| 156 | + - beat.stats.cpu |
| 157 | + - beat.stats.handles |
| 158 | + - beat.stats.memstats |
| 159 | + - beat.stats.runtime |
| 160 | + ignore_missing: true |
151 | 161 | - data_stream:
|
152 | 162 | dataset: elastic_agent.filebeat
|
153 | 163 | namespace: default
|
@@ -226,6 +236,14 @@ inputs:
|
226 | 236 | binary: filebeat
|
227 | 237 | id: filestream-monitoring
|
228 | 238 | target: component
|
| 239 | + - drop_fields: |
| 240 | + fields: |
| 241 | + - beat.stats.cgroup |
| 242 | + - beat.stats.cpu |
| 243 | + - beat.stats.handles |
| 244 | + - beat.stats.memstats |
| 245 | + - beat.stats.runtime |
| 246 | + ignore_missing: true |
229 | 247 | - data_stream:
|
230 | 248 | dataset: elastic_agent.filebeat
|
231 | 249 | namespace: default
|
@@ -312,9 +330,18 @@ inputs:
|
312 | 330 | binary: metricbeat
|
313 | 331 | id: http/metrics-monitoring
|
314 | 332 | target: component
|
| 333 | + - drop_fields: |
| 334 | + fields: |
| 335 | + - beat.stats.cgroup |
| 336 | + - beat.stats.cpu |
| 337 | + - beat.stats.handles |
| 338 | + - beat.stats.memstats |
| 339 | + - beat.stats.runtime |
| 340 | + ignore_missing: true |
315 | 341 | type: beat/metrics
|
316 | 342 | use_output: monitoring
|
317 |
| -- data_stream: |
| 343 | +- _runtime_experimental: otel |
| 344 | + data_stream: |
318 | 345 | namespace: default
|
319 | 346 | id: metrics-monitoring-agent
|
320 | 347 | name: metrics-monitoring-agent
|
@@ -380,61 +407,6 @@ inputs:
|
380 | 407 | binary: elastic-agent
|
381 | 408 | id: elastic-agent
|
382 | 409 | target: component
|
383 |
| - - data_stream: |
384 |
| - dataset: elastic_agent.elastic_agent |
385 |
| - namespace: default |
386 |
| - type: metrics |
387 |
| - failure_threshold: 5 |
388 |
| - hosts: |
389 |
| - - placeholder |
390 |
| - id: metrics-monitoring-metricbeat-1 |
391 |
| - index: metrics-elastic_agent.elastic_agent-default |
392 |
| - metricsets: |
393 |
| - - json |
394 |
| - namespace: agent |
395 |
| - path: /stats |
396 |
| - period: 1m0s |
397 |
| - processors: |
398 |
| - - add_fields: |
399 |
| - fields: |
400 |
| - dataset: elastic_agent.elastic_agent |
401 |
| - target: event |
402 |
| - - add_fields: |
403 |
| - fields: |
404 |
| - id: "" |
405 |
| - process: metricbeat |
406 |
| - snapshot: false |
407 |
| - version: placeholder |
408 |
| - target: elastic_agent |
409 |
| - - add_fields: |
410 |
| - fields: |
411 |
| - id: "" |
412 |
| - target: agent |
413 |
| - - copy_fields: |
414 |
| - fail_on_error: false |
415 |
| - fields: |
416 |
| - - from: http.agent.beat.cpu |
417 |
| - to: system.process.cpu |
418 |
| - - from: http.agent.beat.memstats.memory_sys |
419 |
| - to: system.process.memory.size |
420 |
| - - from: http.agent.beat.handles |
421 |
| - to: system.process.fd |
422 |
| - - from: http.agent.beat.cgroup |
423 |
| - to: system.process.cgroup |
424 |
| - - from: http.agent.apm-server |
425 |
| - to: apm-server |
426 |
| - - from: http.filebeat_input |
427 |
| - to: filebeat_input |
428 |
| - ignore_missing: true |
429 |
| - - drop_fields: |
430 |
| - fields: |
431 |
| - - http |
432 |
| - ignore_missing: true |
433 |
| - - add_fields: |
434 |
| - fields: |
435 |
| - binary: metricbeat |
436 |
| - id: beat/metrics-monitoring |
437 |
| - target: component |
438 | 410 | - data_stream:
|
439 | 411 | dataset: elastic_agent.elastic_agent
|
440 | 412 | namespace: default
|
@@ -546,61 +518,6 @@ inputs:
|
546 | 518 | binary: filebeat
|
547 | 519 | id: filebeat-default
|
548 | 520 | target: component
|
549 |
| - - data_stream: |
550 |
| - dataset: elastic_agent.elastic_agent |
551 |
| - namespace: default |
552 |
| - type: metrics |
553 |
| - failure_threshold: 5 |
554 |
| - hosts: |
555 |
| - - placeholder |
556 |
| - id: metrics-monitoring-filebeat-1 |
557 |
| - index: metrics-elastic_agent.elastic_agent-default |
558 |
| - metricsets: |
559 |
| - - json |
560 |
| - namespace: agent |
561 |
| - path: /stats |
562 |
| - period: 1m0s |
563 |
| - processors: |
564 |
| - - add_fields: |
565 |
| - fields: |
566 |
| - dataset: elastic_agent.elastic_agent |
567 |
| - target: event |
568 |
| - - add_fields: |
569 |
| - fields: |
570 |
| - id: "" |
571 |
| - process: filebeat |
572 |
| - snapshot: false |
573 |
| - version: placeholder |
574 |
| - target: elastic_agent |
575 |
| - - add_fields: |
576 |
| - fields: |
577 |
| - id: "" |
578 |
| - target: agent |
579 |
| - - copy_fields: |
580 |
| - fail_on_error: false |
581 |
| - fields: |
582 |
| - - from: http.agent.beat.cpu |
583 |
| - to: system.process.cpu |
584 |
| - - from: http.agent.beat.memstats.memory_sys |
585 |
| - to: system.process.memory.size |
586 |
| - - from: http.agent.beat.handles |
587 |
| - to: system.process.fd |
588 |
| - - from: http.agent.beat.cgroup |
589 |
| - to: system.process.cgroup |
590 |
| - - from: http.agent.apm-server |
591 |
| - to: apm-server |
592 |
| - - from: http.filebeat_input |
593 |
| - to: filebeat_input |
594 |
| - ignore_missing: true |
595 |
| - - drop_fields: |
596 |
| - fields: |
597 |
| - - http |
598 |
| - ignore_missing: true |
599 |
| - - add_fields: |
600 |
| - fields: |
601 |
| - binary: filebeat |
602 |
| - id: filestream-monitoring |
603 |
| - target: component |
604 | 521 | - data_stream:
|
605 | 522 | dataset: elastic_agent.filebeat_input
|
606 | 523 | namespace: default
|
@@ -651,6 +568,7 @@ inputs:
|
651 | 568 | - drop_fields:
|
652 | 569 | fields:
|
653 | 570 | - http
|
| 571 | + - system |
654 | 572 | ignore_missing: true
|
655 | 573 | - add_fields:
|
656 | 574 | fields:
|
@@ -714,61 +632,6 @@ inputs:
|
714 | 632 | binary: filebeat
|
715 | 633 | id: filestream-otel
|
716 | 634 | target: component
|
717 |
| - - data_stream: |
718 |
| - dataset: elastic_agent.elastic_agent |
719 |
| - namespace: default |
720 |
| - type: metrics |
721 |
| - failure_threshold: 5 |
722 |
| - hosts: |
723 |
| - - placeholder |
724 |
| - id: metrics-monitoring-metricbeat-1 |
725 |
| - index: metrics-elastic_agent.elastic_agent-default |
726 |
| - metricsets: |
727 |
| - - json |
728 |
| - namespace: agent |
729 |
| - path: /stats |
730 |
| - period: 1m0s |
731 |
| - processors: |
732 |
| - - add_fields: |
733 |
| - fields: |
734 |
| - dataset: elastic_agent.elastic_agent |
735 |
| - target: event |
736 |
| - - add_fields: |
737 |
| - fields: |
738 |
| - id: "" |
739 |
| - process: metricbeat |
740 |
| - snapshot: false |
741 |
| - version: placeholder |
742 |
| - target: elastic_agent |
743 |
| - - add_fields: |
744 |
| - fields: |
745 |
| - id: "" |
746 |
| - target: agent |
747 |
| - - copy_fields: |
748 |
| - fail_on_error: false |
749 |
| - fields: |
750 |
| - - from: http.agent.beat.cpu |
751 |
| - to: system.process.cpu |
752 |
| - - from: http.agent.beat.memstats.memory_sys |
753 |
| - to: system.process.memory.size |
754 |
| - - from: http.agent.beat.handles |
755 |
| - to: system.process.fd |
756 |
| - - from: http.agent.beat.cgroup |
757 |
| - to: system.process.cgroup |
758 |
| - - from: http.agent.apm-server |
759 |
| - to: apm-server |
760 |
| - - from: http.filebeat_input |
761 |
| - to: filebeat_input |
762 |
| - ignore_missing: true |
763 |
| - - drop_fields: |
764 |
| - fields: |
765 |
| - - http |
766 |
| - ignore_missing: true |
767 |
| - - add_fields: |
768 |
| - fields: |
769 |
| - binary: metricbeat |
770 |
| - id: http/metrics-monitoring |
771 |
| - target: component |
772 | 635 | type: http/metrics
|
773 | 636 | use_output: monitoring
|
774 | 637 | - data_stream:
|
|
0 commit comments