Skip to content

Syslog source has no received events metrics when the mode is UDP #15687

@youtian001

Description

@youtian001

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Problem

I'm using Syslog source in UDP mode with internal metrics turned on. It turns out that the received events related metrics of the source like component_received_event_bytes_total and component_received_event_total are missing.

FYI, using Syslog source in TCP mode do have those received events related metrics.

Configuration

{
  "type": "syslog",
  "address": "0.0.0.0:514",
  "mode": "udp",
  "tls": {
    "enabled": false
  }
}

Version

vector 0.26.0 (x86_64-apple-darwin c6b5bc2 2022-12-05)

Debug Output

No response

Example Data

No response

Additional Context

No response

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    meta: confirmedA bug that has been reproduced or confirmed.source: syslogAnything `syslog` source relatedtype: bugA code related bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions