Commit graph

591 commits

Author SHA1 Message Date
Chris Roberson
af3e62131d
[Monitoring] Rename ccr fields based on changes in ES (#24519)
* Rename ccr fields based on changes in ES

* More renames

* Update archive data

* Update snapshot

* Skip the api integration tests for now
2018-10-25 12:30:58 -04:00
Felix Stürmer
d3e61e6380
[InfraOps] Remove broken links to APM (#24568)
This removes the links from the waffle map to APM, which did not pass the correct filter in most cases.

fixes #24565 for now
2018-10-25 15:28:14 +02:00
Catherine Liu
567576a724 Fixes loading element icon color (#24551)
* Fixed loading element icon color

* Fixed package.json

* Fixed loading component test

* Revert "Fixed package.json"

This reverts commit 033fc8477d.
2018-10-25 12:00:40 +02:00
CJ Cenizal
f74f633920
[Rollups] Rollup support in Kibana, phase 1 (#21117)
Enabled:
- View/Manage/Create rollup jobs

Disabled:
- Create a rollup index pattern
- Create rollup visualizations
- Add rollup visualizations to dashboards
- View raw rollup documents in Discover
2018-10-24 17:41:45 -07:00
Catherine Liu
3ce182c33c
Fixes shape element with NaN viewBox (#24470)
* Fixes shape viewbox calculations

* Fixed border

* Cleaned up viewbox calculations
2018-10-24 15:59:08 -07:00
Pete Harverson
d9ffa07547
[ML] Edits to the text on the Data Visualizer landing pages (#24518) 2018-10-24 23:45:34 +01:00
Josh Dover
3af1b2109f
Disable unused beats_management tests (#24543) 2018-10-24 16:57:14 -05:00
Catherine Liu
35c325230b
Switches to dashed border style (#24538) 2018-10-24 13:49:02 -07:00
Catherine Liu
21d8ec4b45
Clears timeout for done handler (#24471) 2018-10-24 13:14:35 -07:00
James Gowdy
3fed832c8e
[ML] Fix semi structured text last line issue (#24520) 2018-10-24 21:14:20 +01:00
Ryan Keairns
03d7294c47
[WIP] Adds 'upload data from file' to Kibana home page (#24226)
* 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 14:10:57 -05:00
Felix Stürmer
4077a1b8a4
[InfraOps] Add button to check again for log message if previously exhausted (#24500)
This PR adds a "load again" button to the exhaustion message in the log view.

fixes #23869
2018-10-24 19:22:11 +02:00
Caroline Horn
d114a85d24
Remove wrapper around manage spaces button in menu (#24506)
Fixes #23544
2018-10-24 13:20:58 -04:00
Oliver Gupte
0a602489d3
[APM] Add contextual docs links for PropertiesTable with no data #22755 (#24181)
* [APM] Add contextual docs links for PropertiesTable with no data #22755

* [APM] tweak style of table info header according to PR feedback #22755

* [APM] fix StickeyProperties style regression in ErrorGroupDetails

* [APM] update the layout of the StickeyProperties in ErrorDetails
2018-10-24 10:15:50 -07:00
Chris Roberson
d834f620c1
[Monitoring] Add handles graph for beats (#24265)
* 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 13:06:38 -04:00
CJ Cenizal
1db075512d
Add repositionOnScroll to popovers within the Inspector and the Index Management detail panel. (#23856) 2018-10-24 09:12:11 -07:00
Walter Rafelsberger
2c7caee273
[ML] Improve sampling and normalization of population chart. (#24402)
This optimizes how contextual data is fetched for the population analysis chart.
2018-10-24 17:37:28 +02:00
Matt Apperson
f53541d0d5
[BeatsCM] Fix bad merge that created dupe UI (#24491) 2018-10-24 11:15:19 -04:00
Jason Rhodes
f6b0d7a714
Adds beta messages to traces overview and timeline (#24447)
* 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 11:09:41 -04:00
Tim Sullivan
6084acc8b6
[Reporting] queue.pollEnabled setting adds ability to disable polling for idle jobs (#24295)
* [Reporting] New queue.pollEnabled setting adds ability to disable polling for idle jobs

* add an info log line

* note in docs
2018-10-24 08:03:54 -07:00
Tim Sullivan
5079e3d052
[Reporting/Fix] Improve text of pending status in job listing (#24300)
* [Reporting/Fix] Improve text of pending status in job listing

* status message change from feedback
2018-10-24 08:03:07 -07:00
Pete Harverson
e900879cc3
[ML] Fixes labels in datafeed time range selector modal (#24489) 2018-10-24 15:50:56 +01:00
Caroline Horn
7a90b326b6
Spaces selector screen graphics and other cleanups (#24442) 2018-10-24 10:48:54 -04:00
Pete Harverson
05b5ea7368
[ML] Adds experimental badge labels to the File Data Visualizer (#24485) 2018-10-24 14:10:55 +01:00
Stacey Gammon
08aa4140cb
bump the hacky timeout (#24392) 2018-10-24 08:44:50 -04:00
Matt Apperson
c690e4a0d6
[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:34:59 -04:00
Matt Apperson
a5ea1c6de2
[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-23 23:41:40 -04:00
James Gowdy
c240d609f6
[ML] Improving file data visualizer navigation (#24438) 2018-10-24 02:23:33 +01:00
Matt Apperson
f0d6208a94
[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 20:37:18 -04:00
Joe Fleming
7d96e671c1
Fix: Plugin loading in the build (#24426)
* fix: correctly wait on server plugins

* fix: correctly resolve canvas plugins in build
2018-10-23 17:25:33 -07:00
Joe Fleming
5009efde13
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:19:32 -07:00
kobelb
ee335d86bb Fixing Spaces nav control popover snapshot 2018-10-23 17:17:52 -07:00
Justin Kambic
e08373d93c
Update tag creation page to disallow the creation of tags with multiple uniqueness-enforced configuration blocks. (#24224) 2018-10-23 19:27:08 -04:00
Nathan Reese
60bb49853e
Canvas saved objects for sample data (#24347)
* 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 17:38:33 -04:00
Matt Apperson
b1c7d93152
Add dynamic breadcrumbs components (also fix outputs data, dont remove stuff) (#24364) 2018-10-23 17:25:30 -04:00
Brandon Kobel
8acf04b417
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
2018-10-23 13:36:49 -07:00
Søren Louv-Jansen
3151da280b [APM] Distributed Tracing (#24062)
* 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-23 16:34:23 -04:00
James Gowdy
25d35fac27
[ML] Adds File Data Visualizer feature (#24423)
* [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-23 20:58:05 +01:00
Larry Gregory
b981546290
Always enable the login button (#24407)
The login button should always be enabled, to account for password managers that will auto-fill the form fields.
2018-10-23 15:57:03 -04:00
Chris Cowan
3a6a3eadd6
[Infra UI] Adding time ranges to detail links (#24237)
* [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 11:39:59 -07:00
Nicolas Ruflin
e8451ad40a
Add latency to index and node Elasticsearch stats (#22625)
Closes https://github.com/elastic/kibana/issues/22503
2018-10-23 19:26:30 +02:00
Walter Rafelsberger
836b1a16d2
[ML] Fixes check for lower memory limit. (#24323)
- Fixes the job validation for the lower bound of the model memory limit. Previously the check was against zero, now it's again less than 1MB, which is the same as the backend expects.
- If the user entered model memory limit is less than half the value of the estimated model memory limit, a warning type message gets triggered. If the user entered model memory limit is more than half the value but less then the actual value of the estimated model memory limit, then the already existing info type message is shown. The unit tests have been updated to reflect that behavior.
2018-10-23 19:03:04 +02:00
Joe Fleming
f894f0ea62
Fix: Use basepath from state for socket path (#24369)
Closes https://github.com/elastic/kibana/issues/23168

This PR uses the `basePath` constant from Angular to mount the client socket instance, allowing it to connect correctly even in when using a Space.

### Workpad correctly loading in a Space
![screenshot 2018-10-22 15 57 00](https://user-images.githubusercontent.com/404731/47324055-251a3f80-d613-11e8-9fb0-0b0eaa3b974d.png)

### List of workpads restricted to a space
![screenshot 2018-10-22 13 49 54](https://user-images.githubusercontent.com/404731/47319741-50496280-d604-11e8-8966-83ef3a9fb320.png)

### List of workpads restricted to default space
![screenshot 2018-10-22 13 50 37](https://user-images.githubusercontent.com/404731/47319747-593a3400-d604-11e8-960d-385c80c7638a.png)
2018-10-23 09:56:42 -07:00
Chris Cowan
977964dbb2
Add drilldown to waffle map groupings (#24301) 2018-10-23 09:49:53 -07:00
Chris Cowan
bb749754b5
Use metric indices when displaying metrics in the waffle map (#24251) 2018-10-23 09:45:52 -07:00
Pete Harverson
963151b27f
[ML] Fixes font size of headings in anomalies table expanded row (#24390) 2018-10-23 16:19:05 +01:00
Brandon Kobel
9e86a04f21
Adding option to always present the certificate when connecting to ES (#24304)
* Adding option to always present the certificate when connecting to ES

* Updating docs

* Adding some more tests

* Adding alwaysPresentCertificate option to monitoring
2018-10-23 07:12:27 -07:00
Melissa Alvarez
67e9bc4bfd
[ML] Ensure Job list search bar is aligned + prevent job actions from wrapping (#24334)
* display:none when no jobs selected

* Prevent job actions from wrapping

* wrap condition in paren
2018-10-23 14:10:32 +01:00
Melissa Alvarez
4a45224d6a
[ML] Replace EuiComboBox with EuiSuperSelect in Anomalies Table severity control (#24272)
* EuiSuperSelect replaces EuiComboBox in severity control

* Add tests for selectSeverity component
2018-10-23 13:35:42 +01:00
Sonja Krause-Harder
6b5b4cc33b
[Infra UI] Test sources and capabilities endpoints (#24216)
* Test for capabilities GraphQL endpoint.

* Test for sources GraphQL endpoint.

* Move tests to typescript.

* Renaming infraops to infra.
2018-10-23 09:20:55 +02:00