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

Early JSON logging implementation #4917

Closed
wants to merge 1 commit into from

Conversation

fira
Copy link
Member

@fira fira commented Nov 13, 2023

About the pull request

Explain why it's good for the game

A simple JSON logging implementation for feeding in logstash/opensearch because:

  • I'm sick of seeing unreadable logs containing HTML and href tokens
  • ADMIN_JMP() overeuse alos contributes to HTML logs
  • We're missing "classic" event logging for some big events such as job assignments or round results
  • We don't currently have a way to do aggregations on said important events anyway

While our current usage of OpenSearch with legacy HTML-hybrid logs is great for fulltext searching about anything, it immensely falls short when you want to obtain data in a structured fashion (eg ahelp tickets text), filtering by id (eg ahelp lines by sender), or want to do aggregations (eg round results)

Just a sample impl for testing this workflow, it's incomplete, not well enough thought out (defines? port another backend instead?), and only contains a few log lines right now

Copy link
Contributor

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself

@github-actions github-actions bot added the Stale beg a maintainer to review your PR label Nov 21, 2023
@fira
Copy link
Member Author

fira commented Nov 21, 2023

Will reopen that when there's more to add

@fira fira closed this Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale beg a maintainer to review your PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant