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

Log tail + forwarding #441

Open
purplecabbage opened this issue Jun 19, 2023 · 2 comments
Open

Log tail + forwarding #441

purplecabbage opened this issue Jun 19, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@purplecabbage
Copy link
Member

Expected Behavior

When forwarding logs to Splunk, aio rt logs command does not works and sends this message:

Namespace is configured with custom log forwarding destination: 'splunk_hec'. Please use corresponding logging platform to view logs.

Actual Behavior

If you run aio rt logs --tail in 1 tab and configure Splunk forwarding in a different tab, then you will continue to see logs both in Splunk and terminal until you decide to close your terminal.

@purplecabbage purplecabbage added the bug Something isn't working label Jun 19, 2023
@aiojbot
Copy link

aiojbot commented Jun 19, 2023

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-2306

@buskamuza
Copy link

It is not intended behavior that aio rt logs returns logs in case of custom log forwarding because aio rt can't fetch logs from a custom destination. Due to recent change in the logging configuration, logs are duplicated and sent to Adobe-managed system as well in case of custom log forwarding. So aio rt logs can actually fetch logs while the command is still running. But if it will be restarted after custom log forwarding is configured, it will fail due to client-side validation. It is not guaranteed that logs will be duplicated to an Adobe system in case custom log forwarding is configured, so aio rt logs returning logs while still running is just a side-effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants