Commit graph

37066 commits

Author SHA1 Message Date
Nathan Reese
d9ca4c562e
[ML] avoid full page reload for links following CSV import (#79539)
* [ML] avoid full page reload for links following CSV import

* cleanup

* review feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-06 10:09:58 -06:00
Nicolas Chaulet
c355dfebab
[Ingest Manager] Move config from xpack.ingestManager to xpack.fleet (#79406) 2020-10-06 11:58:09 -04:00
Mikhail Shustov
24e4536b99
hint that we export type only (#79635) 2020-10-06 17:52:24 +02:00
Wylie Conlon
2de2c70f75
[Lens] Break long titles into multiple lines (#79580) 2020-10-06 11:50:44 -04:00
Brent Kimmel
55af3285dc
Remove backdrop blur: visual regression (#79668) 2020-10-06 11:43:11 -04:00
Alejandro Fernández Haro
ed825398c6
[Telemetry Tools] Merge array of constraints (#79654) 2020-10-06 16:41:40 +01:00
Patrick Mueller
6b80eb20ab
[Actions] write action executor errors to the Kibana log (#79474)
resolves https://github.com/elastic/kibana/issues/72058

Finally, we're logging the action executor error responses to the Kibana log.
We have not been doing this previously, out of an abundance of caution.  The
message written may contain data returned from a 3rd party service call, and
we weren't sure this would be "safe" to log, in a PII sense.

After several minor releases, and seeing these service messages in the event
log for almost all the built-in action types, we've decided they are "safe" and
it's time to add them, as they provide some **very** helpful diagnostic
feedback to customers.
2020-10-06 11:40:35 -04:00
Constance
f530dc8574
[proposal] Groups breadcrumb updates (#79551)
+ move chrome related settings to router pages
+ pull out i18n constants

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
2020-10-06 08:38:48 -07:00
Nathan L Smith
bfa704d6ff
Remove APM stacktrace snapshots (#79543)
* Remove APM stacktrace snapshots

These are not necessary and have caused problems for other contributors. Replace the snapshots with tests that check for errors or the structure of the results.

Move the test files out of the __test__ directory and rename the directory to __fixtures__.
2020-10-06 10:22:50 -05:00
Bohdan Tsymbala
f340d71377
[SECURITY_SOLUTION][ENDPOINT] Grid view for trusted apps. (#79485)
* Refactored store code to group properties related to location so that would be easy to introduce a new view type parameter.

* Added view type to the location and routing.

* Added a simple hook to make navigation easier.

* Improved the navigation hook to get params.

* Some fix for double notification after creating trusted app.

* Added a hook to perform trusted app store actions.

* Fixed trusted app card delete callback.

* Added grid view.

* Fixed the stories structuring.

* Shared more logic between grid and list.

* Finalized the grid view.

* Flattened the props.

* Improved memoization.

* Moved the flex item elements inside conditions.

* Fixed broken stories.

* Updated the snapshot.

* Updated the snapshot.
2020-10-06 17:18:30 +02:00
Joe Reuter
11886bf51c
[Lens] Add search to chart switcher (#77631) 2020-10-06 17:17:41 +02:00
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