Commit graph

18773 commits

Author SHA1 Message Date
Tim Roes
a2ccf779ba
Fix courier issues causing showMetricsOnAllLevels to break (#24488) (#24530)
* Fix courier tabify caching issue

* Better code style

* Change to named lodash import

* Fix missing DSL parameters on hierarchical query

* Add functional test for hierarchical agg configs
2018-10-24 23:58:36 +02:00
CJ Cenizal
66a8307a1a
Add repositionOnScroll to popovers within the Inspector and the Index Management detail panel. (#23856) (#24514) 2018-10-24 14:49:22 -07:00
Ryan Keairns
9c0bb67e8f
[WIP] Adds 'upload data from file' to Kibana home page (#24226) (#24533)
* adds upload file and functionbeat to home

* removes functionbeat, adds ml file upload href

* remove functionbeat callout, add ml file url

* fix tests for basepath

* less caveman sounding

* update code editor snapshot

* make link conditional, copy changes

* update ml link

* move mlEnabled to ml plugin

* copy edits
2018-10-24 16:30:05 -05:00
Tim Sullivan
5858dd2ada
[Reporting/Fix] Improve text of pending status in job listing (#24300) (#24504)
* [Reporting/Fix] Improve text of pending status in job listing

* status message change from feedback
2018-10-24 14:01:14 -07:00
Tim Sullivan
4ccb343b29
[Reporting] queue.pollEnabled setting adds ability to disable polling for idle jobs (#24295) (#24505)
* [Reporting] New queue.pollEnabled setting adds ability to disable polling for idle jobs

* add an info log line

* note in docs
2018-10-24 14:01:01 -07:00
Matt Bargar
42017d5a97
Suggestion text needs to be a string (#24526) (#24540)
* suggestion text needs to be a string

* deduplicate after calling toUser since a string and object version of
the same query could both exist in the persisted log, resulting in
identical strings after toUser runs

* don't put empty strings in the recent search history
2018-10-24 16:54:34 -04:00
Walter Rafelsberger
b616418b77
[ML] Improve sampling and normalization of population chart. (#24402) (#24508)
This optimizes how contextual data is fetched for the population analysis chart.
2018-10-24 21:56:48 +02:00
Caroline Horn
73e8260d3e
Remove wrapper around manage spaces button in menu (#24506) (#24525)
Fixes #23544
2018-10-24 15:51:08 -04:00
Felix Stürmer
7e251463fe
[6.x] [InfraOps] Add button to check again for log message if previously exhausted (#24500) (#24524)
Backports the following commits to 6.x:
 - [InfraOps] Add button to check again for log message if previously exhausted  (#24500)
2018-10-24 21:34:08 +02:00
Chris Roberson
8122f5e6db
[Monitoring] Add handles graph for beats (#24265) (#24522)
* Add handles graph

* Add limits in the UI

* Remove debug

* Update api tests

* Fix tests

* Fix snapshots

* Skip this test for now

* Fix this test and re-enable it
2018-10-24 15:23:57 -04:00
Marco Vettorello
876567a9b9
Fixes pie charts on empty time window (#24031) (#24516)
* Fix missing check on empty response

* Fix test order and remove applying on each entered filter

* Change quotes on addNewFilterAggregation testsubject

* Rename test hasPieChartError method to expectPieChartError

* Refactor piechart zero-value slices data cleaning.

The previous implementation used to remove zero-value slices by mutating the vis data from the legend logic.
We moved the logic of "cleaning" the zero-value slices before rendering the piechart and/or the legend, so now piechart and legends are rendering themselves with the same data structure.

* Reverting _validatePieData method to the old one
2018-10-24 21:20:47 +02:00
Jason Rhodes
6d45d2bfa8
Adds beta messages to traces overview and timeline (#24447) (#24512)
* Adds beta messages to traces overview and timeline

* Left over formatting fix

* Fixes bug with inaccurate types for transaction.context.system

* Updates TraceLink to be called TransactionLink more accurately

* Updated learn more about DT link

* Snapshot update for number format change

* Updates to asDecimal to preserve decimal place significance in service list
2018-10-24 14:15:19 -04:00
Pete Harverson
74d7a2d204
[ML] Fixes labels in datafeed time range selector modal (#24489) (#24502) 2018-10-24 18:28:23 +01:00
Caroline Horn
b3addf681c
Spaces selector screen graphics and other cleanups (#24442) (#24501) 2018-10-24 13:22:49 -04:00
Stacey Gammon
6e2d48be82
bump the hacky timeout (#24392) (#24490) 2018-10-24 11:54:13 -04:00
Lisa Cawley
002a0b7c80 [DOCS] Clarify description of xpack.reporting.roles.allow (#23974) 2018-10-24 08:39:53 -07:00
Pete Harverson
e64b7f9443
[ML] Adds experimental badge labels to the File Data Visualizer (#24485) (#24492) 2018-10-24 16:33:46 +01:00
Nathan Reese
b33f858c1c
avoid passing functions from ngReact (#24460) (#24465) 2018-10-24 09:23:13 -06:00
Matt Apperson
d7527b2746 [BeatsCM] Fix bad merge that created dupe UI (#24491) 2018-10-24 11:16:06 -04:00
liza-mae
69bfccd4f5
Upgrade husky (#24432) (#24452)
* Upgrade husky

* Add yarn.lock
2018-10-24 09:11:44 -06:00
Spencer
2bd1a24c81
[build] add --all-platforms flag (#24363) (#24439)
The build script currently builds artifacts for all platforms, which is a slight waste of time on CI and when testing locally. Instead, the default behavior of the build script in this PR is to only build the artifact for the current platform. If the `--all-platforms` flag is supplied (the default when run via `yarn build`, and therefore when building a release) artifacts for all platforms will be created along with deb/rpm packages.
2018-10-24 07:48:26 -07:00
Spencer
581674dd8f
[jest] prevent invalid CDATA in junit (#24456) (#24467) 2018-10-24 07:47:25 -07:00
Søren Louv-Jansen
ab47cae457
[APM] Distributed Tracing (#24062) (#24487)
* Adds traces overview with mock data (#22628)
* Updates service overview snapshots
* Adds tests for ManagedTable and ImpactBar
* Refactored transaction overview to use new managed table component
* Removed jsconfig file in apm
* [APM] Distributed tracing - Trace details (waterfall) (#22763)
* [APM] Add typescript to waterfall (#23635)
* [APM] Migrate get_trace and constants to Typescript (#23634)
* [APM] Add types for setup_request (#23762)
* [APM] Adds trace overview queries and some refactoring (#23605)
* ImpactBar component to align EuiProgress usage for impact bars
* Sharing some logic between transaction and trace queries
* Typescript support
* Quick fix ‘banana’
* [APM] Ensure backwards compatibility for v1 and v2 (#23636)
* Make interfaces versioned
* Rename eventType to docType
* Fixes trace links on traces overview (#24089)
* [APM] use react-redux-request (#24117)
* Updated yarn lockfile for new yarn version
* Updated dependency issues for react-router-dom types
* [APM] Display transaction info on span flyout (#24189)
* [APM] Display transaction info on span flyout
* Brings in real location and url param data for transaction flyout
* Converts flyout to TS
* Adds query param state for flyouts with ts support
* Updates styles and uses EuiTabs for transaction flyout
* [APM] Transaction flyout
* [APM] Minor docs cleanup (#24325)
* [APM] Minor docs cleanup
* [APM] Fix issues with v1 spans (#24332)
* [APM] Add agent marks (#24361)
* [APM] Typescript migration for the transaction endpoints (#24397)
* [APM] DT transaction sample header (#24294)

Transaction sample header completed
* Fixes link target for traces overview to include trans/trace ids as query params
* Converts Transaction index file to TS
* Adds trace link to sample section
* Refactors the trace link and applies it to two usages
* Implements transaction sample action context menu
* Calculates and implements duration percentage
* Re-typed how transaction groups work
* Fixes transaction flyout links and context menu
* Removes unnecessary ms multiplication
* Removes unused commented code
* Finalizes infra links
* Fixes some type shenanigans
2018-10-24 16:45:50 +02:00
Brandon Kobel
377688ab7f
[6.x] Rendering the space selector in either the header or the globalnav (#23845) (#24440)
* Rendering the space selector in either the header or the globalnav (#23845)

* Rendering the space selector in either the header or the globalnav

* Adding link title

* Doing it the React way

* Updating snapshots

* Adding withTitle prop

* Fixing Spaces nav control popover snapshot
2018-10-24 07:28:08 -07:00
Tim Roes
8e28de0979
fixing updating editor state (#22869) (#24483)
* editor state update

* remove lockDirty

* Add functional tests

* Add data to functional tests
2018-10-24 14:51:04 +02:00
Tudor Golubenco
450ae8e54a
Add tutorial for the Suricata module (#24373) (#24448)
Related to elastic/beats#8153.
2018-10-24 14:49:05 +02:00
Bill McConaghy
12a1aefe2c
console: ingest node - add tag and update pipeline processor parameter (#24400) (#24445)
* console: ingest node - add tag and update pipeline processor parameter
2018-10-24 07:32:44 -04:00
Felix Stürmer
e43b2bc5c4
[Infra UI] Add tests for the log entries and summary api (#24354) (#24477) 2018-10-24 13:22:38 +02:00
Matt Apperson
40dcf12c37 [BeatsCM]This PR adds a role checks (#24405)
* add permissions check to API

* Add UI check to display error when user lacess access privlages

* prettier fix
2018-10-24 05:36:15 -04:00
Matt Apperson
ceb3ffc7b6 [BeatsCM] fix keyed config saving rendering (#24379)
* Fix config issues, move all config formatting to lib, add tests

* remove config transform from config

* add comments
2018-10-24 05:36:09 -04:00
markharwood
2fb6638484
Graph: remove “step” property which makes values other than 1, 1001, 2001 etc illegal (#23610) (#24479)
Closes #22054
2018-10-24 10:20:31 +01:00
Nicolas Ruflin
bdae66b223
Add Heartbeat as Uptime Monitors to Add Data UI (#23995) (#24472)
This adds a box "Uptime Monitors" to the Metrics tab. This box guides through installing and configuring Heartbeat with 1 monitor and loading the dashboards.

If the setup is local Heartbeat by default will ping `http://localhost:9200`. The setup recommended for the Cloud setup is to ping `http://elastic.co`. It requires an additional step as it's a non default monitor but will allow to directly have data in the dashboards.
2018-10-24 10:05:42 +02:00
Pete Harverson
f2c37d7f46
[ML] Fixes font size of headings in anomalies table expanded row (#24390) (#24410) 2018-10-24 08:53:35 +01:00
Tim Roes
f953c42621
Make sure Vega tooltip isn't cut off (#24409) (#24430)
Make sure the vega options dropdown menu is visible
2018-10-24 09:32:56 +02:00
James Gowdy
0b142b3f37
[ML] Improving file data visualizer navigation (#24438) (#24458) 2018-10-24 06:35:31 +01:00
Matt Apperson
3cb7c63132 [BeatsCM] Re-add tag removal, tags default color is now a random EUI vis color (#24443)
* random default tag color

* re-add delete controls to tags table
2018-10-23 21:31:49 -04:00
James Gowdy
ab53a3267e
[ML] Adds File Data Visualizer feature (#24423) (#24436)
* [ML] File datavisualizer initial commit (#22828)

* [ML] File datavisualizer initial commit

* removing mocked data and adding initial stats

* adding card styling to fields

* Revert "". accidentally added with no commit message

This reverts commit d762d20b706e6a770e631f863b9e7d8879bb7ee6.

* adding date type to timestamp field

* renaming FileStats to FieldsStats

* code clean up

* changes based on review

* changes to error handling

* [ML] Adding file datavisualizer overrides (#23194)

* [ML] Adding file datavisualizer overrides

* improvements to overrides

* removing comment

* small refactor

* removing accidentally added file

* updates based on review

* fixing broken test

* adding missing grok pattern override

* fixing test

* [ML] Refactoring override option lists (#23424)

* [ML] Refactoring override option lists

* moving lists out of class

* updating test snapshot

* [ML] Fixing field editing (#23500)

* [ML] Changes to timestamp formats (#23498)

* [ML] Changes to timestamp formats

* updating test snapshot

* [ML] Allow Datavisualizer use on basic license (#23748)

* [ML] Allow ML use on basic license

* removing timeout change

* adding permission checks

* updating tests

* removing unnecessary checks

* [ML] Adds new page for choosing file or index based data visualizer (#23763)

* [ML] Adding license check to datavisualizer landing page (#23809)

* [ML] Adding license check to datavisualizer landing page

* removing comments

* updating redirect to landing page

* [ML] Adding ability to upload data to elasticsearch from datavisualizer  (#24042)

* [ML] Initial work for delimited file upload

* adding results links cards

* adding nav menu

* removing accidental debugger

* initial work for importing semi structured text

* using ingest pipeline for import

* adding json importer and better error reporting

* better progress steps

* time range added to results links

* first import only creates index and pipeline

* adding status constants

* using status constants

* adding explanation comment

* updating yarn.lock

* changes based on review

* fixing space

* fixing space again, stort it out git

* removing oversized background container causing constant scrollbar

* [ML] Adding basic license check when loading privileges (#24173)

* [ML] Adding basic license check

* missing import

* [ML] Adds an About panel to the file data visualizer landing page (#24260)

* [ML] Adds an About panel to the file data visualizer landing page

* [ML] Remove unnecessary style from file data visualizer scss

* [ML] Adding better error reporting for reading and importing data (#24269)

* [ML] Adding better error reporting for reading and importing data

* changes to endpoint errors

* displaying errors

* step logic refactor

* removing log statements

* [ML] Switch file data visualizer to use Papa Parse for CSV parsing (#24329)

* [ML] Fixes layout of Data Visualizer selector page for IE (#24387)

* [ML] Adding ability to override various settings when importing data (#24346)

* [ML] Adding ability to override various settings when importing data

* second commit with most of the outstanding code

* improving index pattern name validation

* better index pattern matching

* adding comments

* adding empty index pattern check

* changes based on review

* fixing test
2018-10-24 02:23:16 +01:00
Joe Fleming
b783163fb9 Fix: Plugin loading in the build (#24426)
* fix: correctly wait on server plugins

* fix: correctly resolve canvas plugins in build
2018-10-23 17:26:23 -07:00
Joe Fleming
fe7c9ec9e7 Fix: Canvas socket auth (#24094)
## Summary

Closes https://github.com/elastic/kibana/issues/23303 ~(@cqliu1 can you confirm this too?)~ confirmed

Fixes the way we capture the request info when configuring the socket and providing it to plugins via `callWithRequest`. Instead of exposing a route that returns the info, simply use the request object that comes back from `server.inject`.

Also adds a check in the `elasticsearchClient` handler exposed to plugins to ensure the session is still valid because using `callWithRequest`.

![screenshot 2018-10-16 10 37 56](https://user-images.githubusercontent.com/404731/47036828-32768c00-d132-11e8-81a0-122b5e83c7ef.png)
*Note:* the actual error message is a bit different, but this is how the failure is exposed to the user
2018-10-23 17:20:11 -07:00
Nathan Reese
0522fc7188
Canvas saved objects for sample data (#24347) (#24449)
* Canvas saved objects for sample data

* fix line break in MACHINE element

* store canvas saved objects in json files instead of js files to avoid build problems

* remove logging statement

* set canvas-workpad timestamps to current time so they are displayed at top of list when sorted by date
2018-10-23 20:15:21 -04:00
Brandon Kobel
ca8788fef8
Upgrading mocha to 5.2.0 and gulp-mocha to 6.0.0 (#22816) (#24335)
* Upgrading mocha to 5.2.0 and gulp-mocha to 6.0.0

* Fixing x-pack yarn.lock

* Switching x-pack to ^5.2.0

* Fixing yarn.lock
2018-10-23 17:11:46 -07:00
Chris Cowan
04e7a60635
[Infra UI] Adding time ranges to detail links (#24237) (#24427)
* [Infra UI] Adding time ranges to detail links

- Adds timeranges to hosts, containers, and pods links
- Fixes #24228 - Typos and what not prevented urls from working

* remove argument hard coded formatting

* Cleaning up query arg generation

* Adding missing file

* removing rison hard coded string
2018-10-23 17:10:56 -07:00
Justin Kambic
02f26c18af Update tag creation page to disallow the creation of tags with multiple uniqueness-enforced configuration blocks. (#24224) 2018-10-23 19:27:56 -04:00
Larry Gregory
d6fb0fcf0d
Always enable the login button (#24407) (#24435)
The login button should always be enabled, to account for password managers that will auto-fill the form fields.
2018-10-23 18:33:13 -04:00
Matt Bargar
2d076c72fa
remove var 2018-10-23 18:04:43 -04:00
Matt Apperson
7bd81b8515 Merge branch '6.x' of github.com:elastic/kibana into 6.x 2018-10-23 17:31:28 -04:00
Matt Apperson
8c377208c4 Add dynamic breadcrumbs components (also fix outputs data, dont remove stuff) (#24364) 2018-10-23 17:27:02 -04:00
Matt Bargar
ccfb4482f6
[6.x] Euify and Reactify Query Bar Component (#23704) (#24420)
Implements query bar portion of https://elastic.github.io/eui/#/layout/header. Filter bar will come in another PR.

Fixes #14086

Re-implements our query bar component in React using some EUI components. Existing typeahead and suggestion styles were copied over 1:1 for now after talking with Dave about it. In this PR I focused on reaching feature parity with the existing query bar. Some additional work would be needed before we could move this into EUI as a generic component that could be consumed by other plugins.

Still needs some new tests and I suspect some old tests will need to be updated, but other than that this PR is functionally complete and ready for reviews.
2018-10-23 17:26:34 -04:00
Tiago Costa
3d1e00a27c
Remove red color from the kbn-pm logs (#24362) (#24441)
* feat(NA): remove red color from the kbn-pm logs.

* refact(NA): removed gray color from the generateColors function.

* chore(NA): update missing km pm dist file.
2018-10-23 21:53:34 +01:00
Tim Roes
2488277279
fixing other bucket filters (#24217) (#24403)
* fixing other bucket filters

* adding selenium tests

* using lodash flatten

* using lodash flatten

* fixing based on tims review

* Fix functional tests
2018-10-23 22:37:57 +02:00