Commit graph

260 commits

Author SHA1 Message Date
ymao1 049135192e
[Alerting] Search alert (#88528)
* Adding es query alert type to server with commented out executor

* Adding skeleton es query alert to client with JSON editor. Pulled out index popoover into component for reuse between index threshold and es query alert types

* Implementing alert executor that performs query and matches condition against doc count

* Added tests for server side alert type

* Updated alert executor to de-duplicate matches and create instance for every document if threshold is not defined

* Moving more index popover code out of index threshold and es query expression components

* Ability to remove threshold condition from es query alert

* Validation tests

* Adding ability to test out query. Need to add error handling and it looks ugly

* Fixing bug with creating alert with threshold and i18n

* wip

* Fixing tests

* Simplifying executor logic to only handle threshold and store hits in action context

* Adding functional test for es query alert

* Types

* Adding functional test for query testing

* Fixing unit test

* Adding link to ES docs. Cleaning up logger statements

* Adding docs

* Updating docs based on feedback

* PR fixes

* Using ES client typings

* Fixing unit test

* Fixing copy based on comments

* Fixing copy based on comments

* Fixing bug in index select popover

* Fixing unit tests

* Making track_total_hits configurable

* Fixing functional test

* PR fixes

* Added unit test

* Removing unused import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 07:45:00 -05:00
gchaps b0f4c9831e
[DOCS] Updates intro doc (#88376)
* [DOCS] Updates intro doc

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* [DOCS] Incorporates review comments

* [DOCS] Add links to Security views

* [DOCS] Minor tweaks to improve the flow of the doc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-28 11:36:04 -08:00
Thomas Neirynck 7593cf7ea5
[Vega] use %type% in docs (#89453) 2021-01-28 11:04:23 -05:00
Stratoula Kalafateli 0abf45fcf1
[Vega Docs] Add experimental flag on the vega maps title (#89402)
* [Vega Docs] Add experimental flag on the vega maps title

* Add the experimental warning on the initial paragraph of vega maps to be more visible
2021-01-27 17:03:44 +02:00
Rashmi Kulkarni 20f32d506f
JSON Body payload for the webhook connector in Alerts & Actions (#89253)
* fixes https://github.com/elastic/kibana/issues/74449


Co-authored-by: Patrick Mueller <pmuellr@gmail.com>
2021-01-26 14:20:42 -08:00
Aaron Caldwell dc3e1b0cd6
[Docs] Add geo threshold and containment docs (#88783)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-01-21 17:00:24 -07:00
Patrick Mueller d3fa06b268
updates doc on action parameter variable mustache escaping (#88521)
Provides more detail on mustache variable escaping within action parameter templates.
2021-01-21 09:06:30 -05:00
Joe Portner 25f16db4d9
Sharing saved objects, phase 2 (#80945) 2021-01-20 17:39:21 -05:00
Kaarina Tungseth e3063f6934
[DOCS] Dashboard docs refresh for 7.11 (#85342)
* [DOCS] 7.11 Dashboard docs refresh

* [Lens] end to end guide

* Fixes to writer errors

* Fixes errors

* Fixes error

* errors

* small corrections in e2e

* Introduction, CSV download, and end-to-end guide

* End-to-end guide

* End-to-end guide and intro

* Fixes broken external links

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/lens-end-to-end/lens-end-to-end.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/lens-end-to-end/lens-end-to-end.asciidoc

Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>

* Update docs/user/dashboard/lens-end-to-end/lens-end-to-end.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/lens-end-to-end/lens-end-to-end.asciidoc

Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>

* Review comments

* Review comments and Vega

* Vega tutorials

* Timelion changes

* Bug fixes and clean up

* Introduction

* Clean up

* Link fixes

* Broken links

* Fixes Timelion link

* Minor intro changes

* Fixes Timelion link

* Vega changes

* Add reference content, and move Lens docs to their own page

* Update from review

* Review comments

* Link fixes

* Clean up

Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
2021-01-19 17:05:08 -06:00
Vadim Dalecky b4820a7f79
URL Drilldown global allow-list user docs (#88574)
* docs: ✏️ improve disalbe url drillown text

* docs: ✏️ add external URL service docs to URL drilldown

* docs: ✏️ typo

* docs: update docs
2021-01-18 17:38:35 +01:00
Nathan Reese 039b2ff052
[Docs] clean-up vega map reference documenation (#88487)
* [Docs] clean-up vega map reference documenation

* Update docs/user/dashboard/vega-reference.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-01-15 12:45:51 -07:00
Joe Portner 1927556729
Update reporting docs (#87651) 2021-01-11 14:52:54 -05:00
Bill McConaghy 7efcdb8940
[DOCS] improving production documentation for task manager and alerting (#87484)
* improving production documentation for task manager and alerting

* calling it Kibana Task Manager to be more explicit

* addressing PR feedback
2021-01-06 09:57:18 -05:00
Joe Portner 0c41c2d598
Update security docs (#87215) 2021-01-05 11:26:47 -05:00
Bill McConaghy 6ad8a920ae
adding docs about distinction between two and three curly braces for action variable interpolation (#87302) 2021-01-05 09:42:37 -05:00
Vadim Dalecky 5591e00717
URL encoding for URL drilldown (#86902)
* feat: 🎸 use EuiSwitch for "Open in new window" toggle

* feat: 🎸 add "URL encoding" option and "Additional options"

* feat: 🎸 make "Open in new window" true by default

* feat: 🎸 respect encoding config setting

* test: 💍 add encoding tests

* feat: 🎸 add URI encoding Handlebars helpers

* docs: ✏️ add URL encoding methods to URL Drilldown docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-04 13:56:21 +01:00
Lisa Cawley 409776f9b6
[DOCS] Refreshes Data Visualizer screenshot (#87017) 2020-12-29 13:20:59 -08:00
Joe Reuter 57a72a78f7
[Lens] Configurable color syncing (#86180) 2020-12-22 17:35:27 +01:00
Peter Schretlen 9bc2fccb2d
use alerting concepts diagram with sequence, and update docs to explain the sequence (#86699) 2020-12-22 09:54:54 -05:00
Thom Heymann c05533ebbd
Fix ECS HTTP scheme and improve docs (#86612) 2020-12-21 11:42:51 +00:00
Jonathan Budzenski c33835e87c
[docs] Add kibana-encryption-keys (#84577)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-18 14:02:21 -06:00
Thom Heymann e65c533d10
Add audit events for spaces (#86343)
* Add audit events for spaces

* fix eslint error
2020-12-18 15:29:35 +00:00
Poff Poffenberger d28ae4291a
[Docs] Update Canvas reporting docs for new full page layout feature (#86124)
* Update Canvas and reporting doc for new full page layout

* Typo
2020-12-17 15:05:30 -06:00
Pierre Gayvallet b201843e68
Add user doc for SO tagging (#85557)
* Add user doc for SO tagging

* add link to new page

* handle review feedbacks

* second pass
2020-12-17 08:50:31 +01:00
Marco Liberati 56ad415d14
[Lens] Document the "Other" entry in data summaries in Kibana guide (#85575)
* 📝 Address Other entry in data summaries

* 👌 Integrated feedback from review

* 📝 Add not about going beyong 100% with array values

* 👌 Improved documentation for summaries

* 👌 Improved documentation for data summaries covering discussed aspects by type and hardcoded stat values

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2020-12-15 18:50:03 +01:00
Vadim Dalecky b01a327076
Row trigger 2 (#83167)
* feat: 🎸 add ROW_CLICK_TRIGGER

* feat: 🎸 wire row click event to UI Actions trigger in Lens

* feat: 🎸 add row click trigger to url drilldown

* feat: 🎸 add datatable to row click context

* feat: 🎸 pass in row index in row click trigger context

* feat: 🎸 add columns to row click trigger context

* feat: 🎸 fill values and keys event scope array

* feat: 🎸 generate correct row scope variables

* fix: 🐛 report triggers from lens embeddable

* feat: 🎸 add sample preview for row click trigger

* feat: 🎸 remove url drilldown preview box

* chore: 🤖 remove mock variable generation functions

* feat: 🎸 generate context and global variable lists

* feat: 🎸 preview event variable list

* feat: 🎸 show empty url error on blur

* feat: 🎸 add ability to always show popup for executed actions

* refactor: 💡 rename multiple action execution method

* fix: 🐛 don't add separator befor group on no main items

* feat: 🎸 wire in uiActions service into datatable renderer

* feat: 🎸 check each row if it has compatible row click actions

* feat: 🎸 allow passing data to expression renderer

* feat: 🎸 add isEmbeddable helper

* feat: 🎸 pass embeddable to lens table renderer

* feat: 🎸 hide lens table row actions which are empty

* feat: 🎸 re-render lens embeddable when dynamic actions chagne

* feat: 🎸 hide actions column if there are no row actions

* feat: 🎸 re-render lens embeddable on view mode chagne

* fix: 🐛 fix TypeScript errors

* chore: 🤖 fix TypeScript errors

* docs: ✏️ update auto-generated docs

* feat: 🎸 add hasCompatibleActions to expression layer

* feat: 🎸 remove "data" from expression renderer handlers

* fix: 🐛 fix TypeScript errors

* test: 💍 fix Jest tests

* docs: ✏️ update autogenerated docs

* fix: 🐛 wrap event payload into data

* test: 💍 add "alwaysShowPopup" test

* chore: 🤖 add comment requested in review

https://github.com/elastic/kibana/pull/83167#discussion_r537340216

* test: 💍 add hasCompatibleActions test

* test: 💍 add datatable renderer test

* test: 💍 add Lens embeddable input change tests

* test: 💍 add embeddable row click test

* fix: 🐛 add url validation

* test: 💍 add url drilldown tests

* docs: ✏️ remove url drilldown preview from docs

* docs: ✏️ remove preview from url templating

* docs: ✏️ add row click description

* chore: 🤖 move 36.5 KB bundle balance to url_drilldown

* test: 💍 simplify test case

* style: 💄 change types places

* refactor: 💡 clean up panel variable generation

* test: 💍 add getPanelVariables() tests

* fix: 🐛 generate runtime variables correctly

* fix: 🐛 improve getVariableList() and add tests for it

* feat: 🎸 add translation, improve types
2020-12-14 13:28:23 +01:00
gchaps 692247fc12
[DOCS] Removes steps from discover doc (#85587) 2020-12-10 07:57:44 -08:00
Kaarina Tungseth 516d886c3e
Revert "[Docs] [Lens] End to end guide" (#85339) 2020-12-08 14:57:22 -06:00
KOTungseth 05b6f1a66f Merge branch 'mbondyra-lens/e2eguide' 2020-12-08 14:48:48 -06:00
KOTungseth 9d96cf1c7e Merge branch 'lens/e2eguide' of https://github.com/mbondyra/kibana into mbondyra-lens/e2eguide 2020-12-08 14:48:08 -06:00
Aleh Zasypkin 467ba0a112
[Docs] Document Anonymous authentication provider. (#84910) 2020-12-08 20:06:43 +01:00
KOTungseth ede4591a5a Fixes to writer errors 2020-12-08 13:04:58 -06:00
Kaarina Tungseth 58d1df1401
[DOCS] Adds Lens redirect link (#84000)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 10:08:11 -06:00
Marta Bondyra b4249d216c [Lens] end to end guide 2020-12-08 17:07:50 +01:00
Vincent Fuchs 067efa4552
fixed path to config file (#85257) 2020-12-08 08:36:20 -05:00
KOTungseth a1116af74b Merge branch 'KOTungseth-docs/dashboard' 2020-12-07 12:00:42 -06:00
KOTungseth 0668571182 Merge branch 'docs/dashboard' of https://github.com/KOTungseth/kibana into KOTungseth-docs/dashboard 2020-12-07 12:00:21 -06:00
KOTungseth cd050f37da Fixes conflicts 2020-12-07 11:42:44 -06:00
KOTungseth 0c1effe7bf Fixes conflict 2020-12-07 11:29:02 -06:00
KOTungseth 1cc2986353 Fixes conflict 2020-12-07 11:11:53 -06:00
Thom Heymann f413957827
ECS audit events for alerting (#84113)
* ECS audit events for alerts plugin

* added api changes

* fixed linting and testing errors

* fix test

* Fixed linting errors after prettier update

* Revert "Allow predefined ids for encrypted saved objects (#83482)"

This reverts commit 7d929fe903.

* Added suggestions from code review

* Fixed unit tests

* Added suggestions from code review

* Changed names of alert events

* Changed naming as suggested in code review

* Added suggestions from PR

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 19:13:30 +00:00
KOTungseth 865824bb87 [DOCS] 7.11 Dashboard docs refresh 2020-12-03 16:52:20 -06:00
Marco Liberati 17d986e499
[Embeddable] Export CSV action for Lens embeddables in dashboard (#83654)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-03 10:46:51 +01:00
Bill McConaghy 4a7071ea90
adding documentation of use of NODE_EXTRA_CA_CERTS env var (#84578) 2020-12-01 08:03:57 -05:00
Kaarina Tungseth 7ea2645704
[DOCS] Adds redirect to known plugins page (#84001) 2020-11-30 10:44:26 -06:00
Kaarina Tungseth 480a99381d
[DOCS] Redirects for drilldown links (#83846)
* Fixes lGo to URL links

* Fixes links pt 2

* Added redirects

* Added Lens and reformatted redirects

* Removed lens and fixed broken links

* Fixes to URL drilldowns link

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-30 10:18:11 -06:00
Bill McConaghy 3af64cac34
removing beta callouts (#84510) 2020-11-30 09:56:00 -05:00
Diana Derevyankina fc9c19574e
[Vega] Tutorials should be updated to include new inspector (#83797)
* [Vega] Tutorials should be updated to include new inspector

* Revert unnecessary changes

* Add titles to the screenshots. paste the link to vega inspector and remove experimental caption

* Update some captions

* Update docs/user/dashboard/tutorials.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2020-11-24 15:51:06 +03:00
Nathan Reese 658ecb6c8a
[maps] support URL drilldowns (#83732)
* url drilldowns

* onSingleValueTrigger

* cleanup

* tslint

* revert changes to ui_actions_service

* remove unused method added to es_tooltip_property

* remove unused file

* update drilldown docs to reflect maps supports URL drilldowns

* add functional test case for URL drilldown

* do not show URL drilldowns in geometry filter action selection

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-20 15:35:55 -07:00
ymao1 8ca1e93763
[Actions] Microsoft Teams connector (#83169)
* First cut at adding teams connector

* Getting teams connector working

* Unit tests

* Updating docs

* PR comments

* PR comments

* Changing error to debug log

* Fixing imports

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-20 11:14:17 -05:00