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

[Search] add server logs #72454

Merged
merged 14 commits into from
Jul 28, 2020
Merged

[Search] add server logs #72454

merged 14 commits into from
Jul 28, 2020

Conversation

lizozom
Copy link
Contributor

@lizozom lizozom commented Jul 20, 2020

Summary

  • Added logs to server side search
  • Wrapped service's search function as per comment from @alexwizp

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@lizozom lizozom requested a review from lukasolson July 20, 2020 15:12
@lizozom lizozom requested a review from a team as a code owner July 20, 2020 15:12
@lizozom lizozom self-assigned this Jul 20, 2020
@lizozom lizozom added release_note:skip Skip the PR/issue when compiling release notes Team:AppArch v8.0.0 labels Jul 20, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@lizozom lizozom added Feature:Search Querying infrastructure in Kibana v7.10.0 labels Jul 20, 2020
constructor(private initializerContext: PluginInitializerContext) {}
constructor(
private initializerContext: PluginInitializerContext,
private readonly logger: Logger
Copy link
Contributor

Choose a reason for hiding this comment

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

not sure that we need to keep it as a separate field. initializerContext already has logger field

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@alexwizp the one on the context is the LoggerFactory.
You need to initialize it with the plugin name, and it makes sense IMO to initialize it once.

@lizozom lizozom requested a review from alexwizp July 22, 2020 10:32
@lizozom
Copy link
Contributor Author

lizozom commented Jul 23, 2020

@elasticmachine merge upstream

@lizozom
Copy link
Contributor Author

lizozom commented Jul 26, 2020

@elasticmachine merge upstream

@lizozom
Copy link
Contributor Author

lizozom commented Jul 28, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@streamich streamich left a comment

Choose a reason for hiding this comment

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

Code LGTM.

@lizozom lizozom merged commit 95668d4 into elastic:master Jul 28, 2020
lizozom added a commit to lizozom/kibana that referenced this pull request Jul 28, 2020
* improve test stability

* logs and scope search function

* uncomment

* fix ts

* ts

Co-authored-by: Elastic Machine <[email protected]>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 28, 2020
* master: (44 commits)
  [Search] add server logs (elastic#72454)
  [SIEM][Timelines] Updates timeline template callout text (elastic#73334)
  Fix App status  flaky test (elastic#72853)
  [Functional Tests] Increase the timeout when locating the tableview] (elastic#73243)
  Use "Apply_filter_trigger" in dashboard drilldown (elastic#71468)
  fix dashboard index pattern race condition (elastic#72899)
  [Functional Tests] Increase waitTime for timelion to fetch the results (elastic#73255)
  [Functional Tests] Fix flakiness on TSVB chart on switching index patterns test (elastic#73238)
  updates cypress to v4.11.0 (elastic#73327)
  [Metrics UI] Saved views bugs (elastic#72518)
  [Ingest Manager] Convert select agent config step to use combo box (elastic#73172)
  Exclude `version` from package config attributes that are copied, add safeguard to package config bulk create (elastic#73128)
  [Security Solution][ML] Updates siem group name to security (elastic#73218)
  [Security Solution] Show proper icon for termination status of all processes (elastic#73235)
  [Security Solution][Resolver] Show origin node details in panel on load (elastic#73313)
  [Security solution] Threat hunting test coverage improvements (elastic#73276)
  [Security Solution][Exceptions] - Update exception item comments to include id (elastic#73129)
  [Enterprise Search] Error state UI tweaks to account for current Cloud SSO behavior (elastic#73324)
  [dev/build/docker_generator] convert to typescript (elastic#73339)
  [APM] Fix focus map link on service map (elastic#73338)
  ...
lizozom added a commit that referenced this pull request Jul 28, 2020
* improve test stability

* logs and scope search function

* uncomment

* fix ts

* ts

Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Search Querying infrastructure in Kibana release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants