Commit graph

37155 commits

Author SHA1 Message Date
Sonja Krause-Harder 4d58a0041e
Add license check to direct package upload handler. (#79653) 2020-10-06 16:46:26 +02:00
Nicolas Chaulet 4a160bff80
[Ingest Manager] Rename API /api/ingest_manager => /api/fleet (#79193) 2020-10-06 10:30:21 -04:00
Michael Olorunnisola aeba4011e2
[Security Solution][Resolver] Simplify CopyableField styling and add comments (#79594) 2020-10-06 10:26:06 -04:00
István Zoltán Szabó b7057bc274
Fine-tunes ML related text on Metrics UI (#79425)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2020-10-06 16:25:08 +02:00
Melissa Alvarez 9b0dcaa30b
[ML] DF Analytics creation wizard: ensure job creation possible when model memory lower than estimate (#79229)
* allow user to create job when mml is lower than estimate

* ensure mml validation works as expected
2020-10-06 10:06:44 -04:00
Andrew Kroh 1c729e896f
Add new "Add Data" tutorials (#77237)
This creates new Add Data tutorials for Filebeat modules.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 09:52:04 -04:00
Nathan L Smith 1b050c4aa9
Update APM telemetry docs (#79583)
In #79000 the way we create the telemetry schema was updated and APM is no longer excluded from the telemetry scripts.

Update the docs to be more correct about this.
2020-10-06 08:49:35 -05:00
CJ Cenizal e01d538e32
Revert "Add support for runtime field types to mappings editor. (#77420)" (#79611)
This reverts commit 0dc89cb716.
2020-10-06 06:48:47 -07:00
Brandon Kobel 1ad68fdef7
Kibana request headers (#79218)
* Adding X-Kibana header for the legacy client requests

* Specifying `X-Kibana: true` header for all requests coming from Kibana

* Dev Tools now override the X-Kibana header to false

* DevTools doesn't need to do anything, it's not using the ES client

* Switching from `X-Kibana: true` to `User-Agent: Kibana`

* Switching from `X-Kibana: true` to `User-Agent: Kibana`

* Adding a constant

* Starting to add unit tests...

We currently allow end-users to set whatever headers they'd like to be
forwarded to Elasticsearch with `elasticsearch.customHeaders` and
`elasticsearch.requestHeadersWhitelist`. This is potentially problematic
with us always specifying `User-Agent: kibana` as it could interfere
with what our end-users have done...

* Switching from user-agent to X-elastic-product-origin

* Adding some tests

* Adding and updating the legacy client unit tests
T#

* /s/KIBANA_HEADERS/DEFAULT_HEADERS and a deepFreeze

* Adding comment for why `x-elastic-product-origin` exists
2020-10-06 06:40:08 -07:00
Melissa Alvarez 9794188cbf
ensure missing indexPattern error is bubbled up to error callout (#79378) 2020-10-06 09:39:42 -04:00
Devon Thomson 1e36e275ca
Missing space fix (#79585) 2020-10-06 09:24:46 -04:00
Alison Goryachev e7ed40b0a2
remove duplicate tab states (#79501)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 09:24:29 -04:00
Luke Elmers 8ec5ce6861
[data.ui] Lazy load UI components in data plugin. (#78889) 2020-10-06 07:23:58 -06:00
Luke Elmers 09101b2f15
Add generic type params to search dependency. (#79608) 2020-10-06 07:23:34 -06:00
Nicolas Chaulet 71fef96c38
[Ingest Manager] Internal action for policy reassign (#78493) 2020-10-06 09:21:01 -04:00
Yulia Čech dcb646debc
[ILM] Add index_codec to forcemerge action in hot and warm phases (#78175)
* [ILM] Add index_codec to forcemerge action in hot and warm phases

* [ILM] Fix i18n check errors

* [ILM] Add code review suggestions

* [ILM] Add code review suggestions

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 14:54:11 +02:00
Sandra Gonzales 3a7d7099e7
[Ingest Manager] Update open API spec and add condition to agent upgrade endpoint (#79579)
* add condition to check for upgradeable agent to endpoint

* update the openAPI spec
2020-10-06 08:47:55 -04:00
Walter Rafelsberger 045e7d9098
[ML] Hide Data Grid column options when histogram charts are enabled. (#79459)
* [ML] Fix data grid actions.

* [ML] fix columnsWithChartsActionized

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2020-10-06 12:53:19 +01:00
Alejandro Fernández Haro 4ed1cb3e38
[Telemetry] Synchronous setup and start methods (#79457) 2020-10-06 12:45:58 +01:00
Cauê Marcondes d8b4472a72
[Observability] Persist time range across apps (#79258)
* using kibana persisted date when available to set the date time

* fixing types

* adding setTime when changin the dates in the url

* renaming

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 13:29:15 +02:00
Tim Roes b8f4ea1d06
Improve visualization typings (#79128)
* Improve visualization typings

* Fix vis selection dialog

* Fix broken getInfoMessage type

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 13:04:18 +02:00
Kerry Gallagher 2ba729f904
[Logs UI] Add timestamp as a context variable to log threshold alerts (#78932)
* Add timestamp context variable
2020-10-06 11:12:20 +01:00
Stratoula Kalafateli 08a4586b14
[Lens] Navigate from discover to lens (#77873)
* Create lens action and unregister the visualize one

* remove console

* Implement Discover to Lens, wip, missing tests

* Add unit tests

* fix embed lens to empty dashboard functional tests

* fix suggestions on save

* Fix bug on save button, query and filters should be transferred from discover

* Add functional test for the navigation from Discover to Lens

* PR update after code review

* unregister visualize action only if the action exists

* Change the test to not be flaky

* Move suggestions to editor frame and hide the emptyWorkspace for visualize field

* Update ui actions docs

* Add a retry to remove test flakiness

* Fix bug of infinite loader when removing the y axis dimension

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 11:15:41 +03:00
Maja Grubic 989e9c9702
Refactor attribute service (#78414)
* Making saveMethod mandatory in attribute service

* Making unwrap method mandatory

* Making book embeddable respect new attribute service

* Remove savedObjectsClient from attribute service

* Add checkForDuplicateTitle method to book embeddable

* Make options mandatory on attribute service

* Changing Lens attribute service

* Somw more typescript fixes

* Fixing attribute service typescript and tests

* Fixing typescript errors

* Unsetting feature flag

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 08:31:55 +01:00
Cauê Marcondes ffc1caa2d2
[APM] Add default message to alerts. (#78930)
* adding default message

* addressing pr comments

* addressing pr comments

* addressing pr comments

* addressing pr comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 09:18:15 +02:00
Matthias Wilhelm 82a6d39ba2
[Discover] Modify columns and sort when switching index pattern (#74336)
* Modify columns and sort when switching index pattern

* Add unit tests

* Add uiSetting to allow switch to legacy behavior
2020-10-06 09:00:08 +02:00
Mikhail Shustov 6f983728d7
Document ts project references setup (#78586)
* document ts project references

* Apply suggestions from code review

Co-authored-by: Josh Dover <me@joshdover.com>

* capitalize all the bullet points

* address @rudolf comments

* add a reference to example

* fix identation

* convert  into asciidoc

* fix numeration

* fix asciidoctor failures

* cleanup typescript.asciidoc

* back to unordered list. asciidoctor fails validation

Co-authored-by: Josh Dover <me@joshdover.com>
2020-10-06 08:46:56 +02:00
Mikhail Shustov 2ca8aaad63
build all ts refs in single kbn:bootstrap (#79438) 2020-10-06 08:33:24 +02:00
Stratoula Kalafateli 40ef7205f0
[TSVB] Allow string fields on value count aggregation (#79267)
* [TSVB] Enable string fields for value count aggregation

* fix test title

* Allow all field types for value count aggregation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 08:55:51 +03:00
Xavier Mouligneau cf45fef4c5
[SECURITY SOLUTION] Investigate EQL signal in timeline (#79049)
* fix template timeline for rule

* fix moving column with linkfield by giving back the browserfield

* leftover from investigate timeline with template from rule

* add visualization for eql sequences in timeline + allow eql investigate to timeline through signal.group.id

* bug fix of column in eventviewer

* review I

* review II

* fix bug - Columns dynamically added to timeline indicate no data

* fix pagination to work as attempted by elastic search

* no tweak on pagination timeline

* fix snapshot

* reset activePage to 0 when changing indexNames

* remove last page when we are not sure if it is really the last page

* update activePage when resetting it by searchParameter

* review bug on the last commit

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-05 21:56:48 -04:00
Jen Huang e451a4dc16
[Fleet] Add loading spinner to page headers (#79568)
* Add loading spinner to page headers

* Avoid blinking
2020-10-05 18:52:16 -07:00
Kevin Qualters 32d45b6e55
[Security Solution][Resolver] Resolver query panel load more (#79160) 2020-10-05 21:43:01 -04:00
Justin Kambic 52379a0e77
Add type row to monitor detail page. (#79556)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-05 21:16:26 -04:00
Chris Roberson 230a292d93
Remove license refresh from setup (#79518) 2020-10-05 21:04:49 -04:00
Jonathan Budzenski be11098df7
[docker] add reporting fonts (#74806)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-05 19:08:49 -05:00
Paul Tavares a566b321c1
[SECURITY_SOLUTION][ENDPOINT] Add info about trusted apps to the page subtitle + create flyout (#79558)
* Add info about trusted apps to the page subtitle + create flyout
2020-10-05 20:00:53 -04:00
Paul Tavares 6f181a9591
Trim Hash value before validating it (#79545) 2020-10-05 19:58:52 -04:00
Larry Gregory 49c669ca61
Warn users when security is not configured (#78545)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-05 19:47:17 -04:00
Michael Olorunnisola 4d4e53f7c7
update copy styling (#79313) 2020-10-05 19:12:57 -04:00
renovate[bot] 745b5c1271
Update dependency @elastic/charts to v23.1.1 (#78459)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-05 16:12:34 -07:00
Aaron Caldwell bb37cc288a
Introduce geo-threshold alerts (#76285) 2020-10-05 17:00:55 -06:00
Jen Huang c19d1f4187
#76920 Show base breadcrumb when there is an error booting the app (#79571) 2020-10-05 15:55:29 -07:00
Ahmad Bamieh 025af1ad3f
remove react-intl from kibana and keep it inside only i18n package (#78956)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 01:41:49 +03:00
Spencer 3d6f150956
[cli] migrate remaining cli scripts to /dist /dev style (#79409)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-05 15:07:12 -07:00
Nicolas Chaulet 06d8040fa4
[Ingest Manager] Update Fleet enroll instructions to use install command (#79525) 2020-10-05 18:01:04 -04:00
Justin Ibarra 7c4bdb0248
[Detection Rules] Add 7.10 rules (#79061)
* [Detection Rules] Add 7.10 rules
* fixes cypress tests
Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
2020-10-05 13:30:03 -08:00
Saravanan Selvamohan 663175c8c4
Change plugin id for triggers_actions_ui to triggersActionsUi (#78555)
* Rename triggers_actions_ui plugin id to triggersActionsUi

* Rename triggers_actions_ui plugin id to triggersActionsUi

* Removed disable linting line

* ran docs generation script

* Fixed type check issue

* FIxed eslint error

Co-authored-by: Yuliia Naumenko <yuliia.naumenko@elastic.com>
2020-10-05 14:17:06 -07:00
Marta Bondyra f663743d78
[Lens] fix empty callout for empty/meta fields accordion (#79429) 2020-10-05 23:07:07 +02:00
Josh Dover c3076a8011
Prepare APM agent configuration for production use (#78697) 2020-10-05 15:01:04 -06:00
Davis Plumlee 6a173ba19d
[Security Solution][Detections] Adds sequence callout in the exceptions modals for eql rule types (#79007) 2020-10-05 14:39:40 -06:00