Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vector application log syslog forwarding getting socket_send writer_failed errors on OpenShift worker nodes #2553

Open
imdmahajankanika opened this issue Jun 12, 2024 · 2 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@imdmahajankanika
Copy link

Describe the bug
Hello, We are seeing below errors in vector collector pods

2024-06-12T18:27:49.383056Z WARN vector::internal_events::file::source: Currently ignoring file too small to fingerprint. file=/var/log/pods/impakt_impakt-strapi-7cd85864bf-tsd8f_e9a49eb6-9674-4bdd-b1d7-276eecb0b36e/init/0.log
2024-06-12T18:27:51.790074Z ERROR sink{component_kind="sink" component_id=output_siem_logpoint component_type=socket}: vector::internal_events::socket: Error sending data. error=Connection refused (os error 111) error_code="socket_send" error_type="writer_failed" stage="sending" mode=udp internal_log_rate_limit=true
2024-06-12T18:27:51.790110Z ERROR sink{component_kind="sink" component_id=output_siem_logpoint component_type=socket}: vector_common::internal_event::component_events_dropped: Events dropped intentional=false count=1 reason="Error sending data." internal_log_rate_limit=true
2024-06-12T18:27:52.051340Z ERROR sink{component_kind="sink" component_id=output_siem_logpoint component_type=socket}: vector::internal_events::socket: Internal log [Error sending data.] is being suppressed to avoid flooding.
2024-06-12T18:27:52.051371Z ERROR sink{component_kind="sink" component_id=output_siem_logpoint component_type=socket}: vector_common::internal_event::component_events_dropped: Internal log [Events dropped] is being suppressed to avoid flooding.
2024-06-12T18:28:01.851747Z ERROR sink{component_kind="sink" component_id=output_siem_logpoint component_type=socket}: vector::internal_events::socket: Internal log [Error sending data.] has been suppressed 5 times.

Environment

  • OKD 4;13
  • ClusterLogging instance 5.9.0

Logs

2024-06-12T18:27:49.383056Z WARN vector::internal_events::file::source: Currently ignoring file too small to fingerprint. file=/var/log/pods/impakt_impakt-strapi-7cd85864bf-tsd8f_e9a49eb6-9674-4bdd-b1d7-276eecb0b36e/init/0.log
2024-06-12T18:27:51.790074Z ERROR sink{component_kind="sink" component_id=output_siem_logpoint component_type=socket}: vector::internal_events::socket: Error sending data. error=Connection refused (os error 111) error_code="socket_send" error_type="writer_failed" stage="sending" mode=udp internal_log_rate_limit=true
2024-06-12T18:27:51.790110Z ERROR sink{component_kind="sink" component_id=output_siem_logpoint component_type=socket}: vector_common::internal_event::component_events_dropped: Events dropped intentional=false count=1 reason="Error sending data." internal_log_rate_limit=true
2024-06-12T18:27:52.051340Z ERROR sink{component_kind="sink" component_id=output_siem_logpoint component_type=socket}: vector::internal_events::socket: Internal log [Error sending data.] is being suppressed to avoid flooding.
2024-06-12T18:27:52.051371Z ERROR sink{component_kind="sink" component_id=output_siem_logpoint component_type=socket}: vector_common::internal_event::component_events_dropped: Internal log [Events dropped] is being suppressed to avoid flooding.
2024-06-12T18:28:01.851747Z ERROR sink{component_kind="sink" component_id=output_siem_logpoint component_type=socket}: vector::internal_events::socket: Internal log [Error sending data.] has been suppressed 5 times.

Expected behavior
Collector pods should forward logs to external SIEM

Actual behavior
Getting errors

@vparfonov
Copy link
Contributor

@imdmahajankanika Hello, error_type="writer_failed" means that Vector was unable to write log data. Can you please double-check your network connection? Would you be able to send some test data to the same SEIM instance via other solution, for example: netcat ?

@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

3 participants