This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
сервис_opentelemetry [2026/11/04 08:52] val |
сервис_opentelemetry [2026/11/05 15:10] (current) val [OpenTelemetry Collector] |
||
|---|---|---|---|
| Line 15: | Line 15: | ||
| convert_to_semantic_conventions: true | convert_to_semantic_conventions: true | ||
| resource: | resource: | ||
| - | service.name: ИМЯ_СИСТЕМЫ-journald | + | service.name: ИМЯ_СИСТЕМЫ-journald |
| + | #Можно и просто journald , так как ниже добавляется и индексируется host_name | ||
| # filelog/roundcube: | # filelog/roundcube: | ||
| Line 37: | Line 38: | ||
| processors: | processors: | ||
| batch: | batch: | ||
| - | filter/exclude_unimportant: | + | # filter/exclude_unimportant: |
| - | error_mode: ignore | + | # error_mode: ignore |
| - | logs: | + | # logs: |
| - | log_record: | + | # log_record: |
| - | - 'IsMatch(body, "(?i)cron")' | + | # - 'IsMatch(body, "(?i)cron")' |
| transform: | transform: | ||
| error_mode: ignore | error_mode: ignore | ||
| Line 65: | Line 66: | ||
| receivers: [journald] | receivers: [journald] | ||
| # receivers: [journald, filelog/roundcube] | # receivers: [journald, filelog/roundcube] | ||
| - | processors: [filter/exclude_unimportant, transform, batch] | + | processors: [transform, batch] |
| + | # processors: [filter/exclude_unimportant, transform, batch] | ||
| exporters: [otlphttp/loki] | exporters: [otlphttp/loki] | ||
| # exporters: [otlphttp/loki, debug] | # exporters: [otlphttp/loki, debug] | ||