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

feat: extend events_ingested to accommodate UCC health check page #358

Merged
merged 3 commits into from
Apr 19, 2024

Conversation

sgoral-splunk
Copy link
Contributor

Extended the events_ingested function to log more information such as index, host, account and input.

@sgoral-splunk sgoral-splunk requested a review from a team as a code owner April 2, 2024 18:23
solnlib/log.py Outdated
result["event_account"] = account
if host:
result["event_host"] = host
if "://" in modular_input_name:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we specify the format in the doc-string and throw a ValueError exception if the format is not what we expect?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't want to force users to use specific format, because someone may already be using this function and will want it to stay as it is

@artemrys artemrys changed the title feat: addon 68981 logs for dashboard feat: extend events_ingested to accommodate UCC health check page Apr 18, 2024
@sgoral-splunk sgoral-splunk requested a review from artemrys April 19, 2024 00:15
@artemrys artemrys changed the base branch from develop to main April 19, 2024 10:58
@artemrys artemrys merged commit c8a4800 into main Apr 19, 2024
15 checks passed
@artemrys artemrys deleted the feat/ADDON-68981_logs_for_dashboard branch April 19, 2024 11:07
@github-actions github-actions bot locked and limited conversation to collaborators Apr 19, 2024
@srv-rr-github-token
Copy link
Contributor

🎉 This PR is included in version 4.14.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants