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

[Athena] Log Event View #12

Closed
that-guy-iain opened this issue Oct 2, 2022 · 0 comments
Closed

[Athena] Log Event View #12

that-guy-iain opened this issue Oct 2, 2022 · 0 comments
Labels
Accepted Feature Request New feature or request
Milestone

Comments

@that-guy-iain
Copy link
Member

that-guy-iain commented Oct 2, 2022

Problem

Employees want to see events relating to a specific object.

Logging tools can be intimidating as well as hard to navigate.

Solution

Provide the ability to add the ability to fetch and view logs relating to an object directly from the Athena object view page.

It would need to be able to:

  • support multiple logging systems.
  • support the ability define how to find the logs
  • support the ability to define how to map the log to view data

Logging Systems to Support:

  • Elasticsearch/ELK/Kibana
  • Loggly
  • Logtail

Example

Possbile idea to support multiple

interface LogRepositoryInterface
{
  /**
   * @return LogResult[]
   */
  public function search(SearchRules $searchRules) : array;
}

Possible way to support the ability to find logs

interface SearchRules 
{
  public function addRule(SearchRule $searchRule): void;

  public function fetchCompiledRules(): mixed;
}

Possible way of supporting mapping data

interface LogMapperInterface
{
  public function mapData(mixed $data) : array
}
@that-guy-iain that-guy-iain added Feature Request New feature or request Accepted labels Oct 2, 2022
@that-guy-iain that-guy-iain added this to the 2.2 milestone Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Feature Request New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant