Commit graph

772 commits

Author SHA1 Message Date
Lisa Cawley
d871474d19
[DOCS] Alerts-as-data for index threshold rules (#169049) 2023-10-17 07:33:37 -07:00
Lisa Cawley
aab7f6e368
[DOCS] Remove a-data-source shared attribute (#167943) 2023-10-05 12:46:16 -07:00
Drew Tate
172de682c5
[Event annotations] Individual annotation editing from library (#163346)
## Summary

Resolve https://github.com/elastic/kibana/issues/158774
Part of https://github.com/elastic/kibana/issues/159053

<img width="1920" alt="Screenshot 2023-09-13 at 2 00 25 PM"
src="69cfe07e-d442-462b-91c5-395d6040c383">

<img width="1920" alt="Screenshot 2023-09-13 at 2 00 09 PM"
src="260aedbe-31d0-415a-b387-10a9b13bf9a6">

<img width="1920" alt="Screenshot 2023-09-13 at 2 01 07 PM"
src="9672010b-d49b-4041-acf1-33d3baec1e9a">


### Known issues
- [ ] ~Responsive layout~ **Proposal:** don't optimize for mobile
- [x] Recovering embeddable from problematic data view state
- [x] margin around dimension buttons
- [x] Functional test coverage

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [x] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2023-09-20 10:09:17 +03:00
Lisa Cawley
622b14de67
[DOCS] Clarify Opsgenie and PagerDuty connector actions (#163548) 2023-09-12 09:59:38 -07:00
Youhei Sakurai
b46a737703
Add support for PATCH requests in Console (#165634)
## Summary

This PR adds support for PATCH requests in Console.


![patch-request](8257ca4b-303e-4f46-bbcc-6e6f95336c30)

Closes #154274

### Checklist

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

### For maintainers

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

## Release note

Adds support for PATCH requests in Console.

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-09-09 10:33:56 +09:00
amyjtechwriter
4ffd7562ff
[DOCS] Updating API key page in Kibana docs (#165599)
## Summary

This PR adds the new cross-cluster API key option to the [API Keys
page](https://www.elastic.co/guide/en/kibana/current/api-keys.html) and
makes some further edits to the page.

Relates to: #162363 & #163566

---------

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
2023-09-08 12:05:35 +01:00
Lisa Cawley
3151aad37b
[DOCS] Automate screenshots for Elasticsearch query rule actions (#164794) 2023-09-07 12:16:10 -07:00
Nathan Reese
118ea87a08
[maps][alerting] fix ES query rule boundary field changed when editing the rule (#165155)
Fixes https://github.com/elastic/kibana/issues/163959

While digging into the original issue, it was determined that the
existing components were unsalvageable. Fixing all of the issues would
have required more work than just starting over. Problems with original
components include:
1) updating rule state on component load. This is the cause of the
reported bug.
2) lack of loading state when performing async tasks, like loading data
views.
3) not displaying validation errors. When users clicked "save" with
missing configuration, no UI notifications were displayed
4) Heavy use of EuiExpression made it impossible to view all
configuration in a single time

Now, geo containment form:
1) Only updates rule state when users interact with inputs.
2) Displays loading state when performing async tasks, like loading data
views.
3) Displays validation errors
4) Has a simpler UI that allows users to see all configuration
information at the same time.

<img width="300" alt="Screen Shot 2023-08-30 at 5 34 00 PM"
src="65abfa5d-6c8e-45a9-b69f-cc07f5be7184">

<img width="300" alt="Screen Shot 2023-08-30 at 5 34 48 PM"
src="63b5af12-7104-43ae-a836-0236cf9d1e98">

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-09-06 12:18:54 -06:00
Jon
aebd6f3923
[node] Enable openssl legacy provider (#163190)
This is to prevent a breaking change in a minor release of Kibana due to
an underlying upgrade of Node.js to v18.
The legacy provider can be disabled by removing
`--openssl-legacy-provider` in `config/node.options`.

[Node.js
documentation](https://nodejs.org/docs/latest-v18.x/api/cli.html#--openssl-legacy-provider)
[OpenSSL
documentation](https://www.openssl.org/docs/man3.0/man7/OSSL_PROVIDER-legacy.html)

---------

Co-authored-by: Thomas Watson <w@tson.dk>
2023-08-30 11:51:10 -07:00
Thom Heymann
85595ca8ab
Add docs for remote indices (#156510)
Resolves #155289

~~Todo: Add link to ES remote indices docs once available
(https://github.com/elastic/kibana/pull/154948#discussion_r1169266451)~~

Update: I don't think there's a better page to link to right now so will
leave as is. We can always change it in the future.
2023-08-29 13:03:58 -04:00
James Rodewig
8ac82e38d7
[DOCS] Add cross-link for other encryption key settings (#165014)
Problem: The [Configure security in Kibana](https://www.elastic.co/guide/en/kibana/current/using-kibana-with-security.html) docs page only covers the `xpack.security.encryptionKey` setting for session encryption. Users may not know that encryption for Kibana's reporting and saved objects features also require encryption keys.

Solution: Add a cross-link to the respective encryption key settings for  reporting and saved objects
2023-08-28 15:02:22 -04:00
István Zoltán Szabó
e91103811b
[DOCS] Adds documentation for data comparison view (#164297)
## Summary

Related PR: https://github.com/elastic/kibana/pull/161365
Related issue: https://github.com/elastic/platform-docs-team/issues/153

This PR drafts documentation for the new data comparison feature under
the Data Visualizer in Kibana.
2023-08-24 16:13:38 +02:00
Nathan Reese
3393d87959
Add support for geo_shape fields as the entity geospatial field when creating tracking containment alerts (#164100)
Closes https://github.com/elastic/kibana/issues/163996

### To test
1) Checkout [fake tracks geo_shape
branch](https://github.com/nreese/faketracks/tree/geo_shape)
2) run npm install
3) run `node ./generate_tracks.js`
4) in kibana, create `tracks*` data view
5) create map, use "create index" and draw boundaries that intersect
tracks. See screen shot
<img width="500" alt="Screen Shot 2023-08-17 at 2 49 52 PM"
src="5f1444d7-2e12-4dd2-99c1-c730c2157e04">
6) create geo containment alert where entity index is `tracks*` and
boundaries index is `boundaries`.
7) Verify alerts get generated with entity geo_shape locations

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-23 13:12:46 -06:00
Lisa Cawley
154ca404d0
[DOCS] Automate Elasticsearch query rule screenshots (#164127) 2023-08-23 11:41:44 -07:00
Abdon Pijpelink
4b1d833aee
[DOCS] Change deep link to ES book for CCS privileges (#164165)
## Summary

Relates to https://github.com/elastic/elasticsearch/pull/98330

8.10 introduces a new method to configure remote clusters (API key
based), which will live next to the existing method (certificate based).
As a result, the ES remote cluster docs will be restructured. The deep
link from "[Alerting set
up](https://www.elastic.co/guide/en/kibana/current/alerting-setup.html#alerting-ccs-setup)"
to the setting up CCS privileges section in the ES docs will break (and
would potentially bring folks to the wrong page anyway).

This PR changes the link into a link to the higher-level remote cluster
docs, from where folks can click through to the section that is relevant
to them.
2023-08-22 09:33:53 +02:00
István Zoltán Szabó
79a0a5e940
[DOCS] Improves change point detection documentation (#164277)
Co-authored-by: Dima Arnautov <arnautov.dima@gmail.com>
2023-08-21 16:33:07 +02:00
Lisa Cawley
bd6d65591a
[DOCS] Add conditional actions to Observability rule screenshots (#162284) 2023-08-14 11:16:39 -07:00
Alejandro Fernández Haro
0284cc158d
[Telemetry] Use header-based versioned APIs instead of path-based (#159839) 2023-08-12 14:20:06 -07:00
James Rodewig
37a53b69cf
[DOCS] Fix event.values URL template var desc (#163507) 2023-08-10 14:32:55 -04:00
Patrick Mueller
7e234b1a78
[EventLog] change to use Data stream lifecycle instead of ILM (#163210)
resolves https://github.com/elastic/kibana/issues/162886

The default continues to be 90 days for data detetention of event log
documents, and the rollover is now controlled by DLM, as described in
[Data stream lifecycle][].

[Data stream lifecycle]:
https://www.elastic.co/guide/en/elasticsearch/reference/8.9/data-stream-lifecycle.html

## Release note

Fixes the event log data stream to use Data stream lifecycle instead of
Index Lifecycle Management. If you had previously customized the Kibana
event log ILM policy, you should now update the lifecycle of the event
log data stream itself.
2023-08-08 15:23:59 -04:00
Alex Szabo
8cf68dc6ba
[Ops] Bump Node.js to version 18 (#160289)
## Summary

Bumps node.js to 18.17.0 (replacement for PR #144012 which was later
reverted)

As a result, these categorical additions were needed: 
- `node` evocations will need the `--openssl-legacy-provider` flag,
wherever it would use certain crypto functionalities
- tests required updating of the expected HTTPS Agent call arguments,
`noDelay` seems to be a default
 - `window.[NAME]` fields cannot be written directly
 - some stricter typechecks

This is using our in-house built node.js 18 versions through the URLs
the proxy-cache. (built with
https://github.com/elastic/kibana-custom-nodejs-builds/pull/4)

These urls are served from a bucket, where the RHEL7/Centos7 compatible
node distributables are. (see:
https://github.com/elastic/kibana-ci-proxy-cache/pull/7)

Further todos: 
 - [x] check docs wording and consistency
 - [ ] update the dependency report
 - [x] explain custom builds in documentation
 - [x] node_sass prebuilts

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
Co-authored-by: Thomas Watson <w@tson.dk>
2023-07-27 14:12:48 +02:00
Sid
ad542d0188
Change default session idle timeout to 3 days. (#162313)
Closes https://github.com/elastic/kibana/issues/162215

## Summary

This PR changes the default session idle timeout for users to 3 days. 

## Changes Made

- Updated default `session.idleTimeout` to `3d`. 
- Updated tests to expect the new default timeout
- Updated asciidocs to match the above change

## Release notes

Change the default value of `session.idleTimeout` from 8 hours to 3
days.
2023-07-26 14:29:04 +02:00
James Rodewig
1c3f4a8543
[DOCS] Remove outdated Maps video (#161991)
- Removes a video from the [Maps](https://www.elastic.co/guide/en/kibana/current/maps.html) docs. The video's UI is outdated. There are no current plans to update the video.
- Adds a comment to the [Make dashboards interactive](https://www.elastic.co/guide/en/kibana/current/drilldowns.html). This video is slightly outdated, but we're leaving it in at the request of the dev team.

Closes https://github.com/elastic/platform-docs-team/issues/131
2023-07-25 06:08:21 -04:00
Lisa Cawley
aa4fbc14a9
[DOCS] Add example of a rule with errored actions (#162368) 2023-07-24 09:00:06 -07:00
Lisa Cawley
5bc6faac50
[DOCS] Refresh rule action variable screenshots (#162098) 2023-07-19 08:31:46 -07:00
Walter Rafelsberger
11cc1e1be6
[ML] AIOps: Rename Explain Log Rate Spikes to Log Rate Analysis. (#161764)
## Summary

Part of #161832.

This PR renames the Explain Log Rate Spikes feature to **Log Rate
Analysis**.

- [x] Renamed references in `docs/developer/*`
- [x] Updated docs screenshots
- [x] Redirect in docs
- [x] Redirect urls from `explain_log_rate_spikes` to `log_rate_analysis`
- [x] API versioning
- [x] Renamed navigation links
- [x] Renamed variable names
- [x] Renamed file names
- [x] Renamed i18n ids
- [x] Renamed breadcrumbs 
- [x] Removed hard coded `AIOPS_ENABLED` feature flag
2023-07-19 16:46:31 +02:00
Lisa Cawley
3a0c90d934
[DOCS] Clarify API key authorization for alerting (#161717) 2023-07-17 09:41:23 -07:00
Lisa Cawley
48ec52b202
[DOCS] Link to rule and connector Elasticstack provider resources (#161275) 2023-07-17 08:34:10 -07:00
Mike Birnstiehl
575def18cf
[DOCS] update observability alerting links (#161980) 2023-07-17 09:47:07 -05:00
Stef Nestor
b1d619617a
[DOCv2] Temporarily disable Kibana Rules (#126869)
👋🏼 @gchaps asked me to file a new PR since my last
https://github.com/elastic/kibana/pull/122573 got too far behind.

## Summary

🙏🏼 per #116017, adds insight on how to temporarily disable Kibana Rules
for clusters which need breathing room.

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-07-13 08:22:55 -05:00
Lisa Cawley
7f3c9e8c81
[DOCS] Add rule.params to rule action variables (#161714) 2023-07-12 09:56:57 -07:00
Lisa Cawley
4ce8b3f4eb
[DOCS] Edits FormatNumber examples for rule action variables (#161678) 2023-07-11 10:39:30 -07:00
Tim Sullivan
787491e2bb
[Reporting] Allow Chromium to work by default in Docker (#149080)
## Summary

Closes https://github.com/elastic/kibana/issues/129148


### Checklist

Delete any items that are not applicable to this PR.

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

## Release Note
Fixed a bug where Kibana Reporting would not work in Elastic Docker
without adding a special setting in kibana.yml.
2023-07-11 08:16:03 -07:00
Stratoula Kalafateli
672c90a9c1
[Dashboard] Panel settings action improvements (#161616)
## Summary

Part of https://github.com/elastic/kibana/issues/160256

- Replaces the Edit panel settings text with the simpler Panel settings
- Replaces the documentation
- Replaces the icon

<img width="1757" alt="image"
src="e0ea6c19-8a65-44b8-906e-c364c00536a0">

### Checklist

- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
2023-07-11 16:22:57 +03:00
Jonathan Buttner
2bf4ed4813
[Cases] Updating the audit log docs (#160335)
This PR updates the security audit logs with some cases values. We added
a new operation for retrieving the `categories` of a case and the users
associated with a case.
2023-06-23 08:20:32 -04:00
Patrick Mueller
d9ca8aa48f
[ResponseOps] adds FormatNumber mustache lambda (#159644)
resolves https://github.com/elastic/kibana/issues/155869

Adds mustache lambda `{{#FormatNumber}}`, which uses
[Intl.NumberFormat][] to format the number.

[Intl.NumberFormat]:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
2023-06-20 09:34:55 -04:00
Nathan Reese
917deff3a4
Check lens support in editor comparisons table for tag cloud and significant terms (#159617)
Update editor tables to reflect that tag cloud and significant terms
aggregations are supported in lens
2023-06-14 07:27:31 -06:00
Carly Richmond
ad2593b7b4
Update tsvb.asciidoc to correct typo (#159551) 2023-06-13 08:53:16 -04:00
Lisa Cawley
bfdb4e1d68
[DOCS] Fix typo in AIOps Labs (#159045) 2023-06-05 14:52:44 -07:00
Lisa Cawley
4cf817a1ab
[DOCS] Allow users authenticated with API keys to manage alerting rules (#158428) 2023-05-25 10:32:11 -07:00
Lisa Cawley
4981f37014
[DOCS] Clarify support for data views in stack rules (#158431) 2023-05-25 07:53:57 -07:00
Lisa Cawley
668968b758
[DOCS] Replace description attributes with frontmatter for migration (#158126) 2023-05-24 08:16:43 -07:00
Lisa Cawley
c5a1d6b5f4
[DOCS] Conditional actions in Kibana alerting summary (#158045) 2023-05-23 10:50:17 -07:00
Lisa Cawley
1b71d2ca3c
[DOCS] Maintenance window column in alerts tables (#158125) 2023-05-23 10:49:18 -07:00
Kaarina Tungseth
06a800fbad
[DOCS] Adds 8.8 Viz docs (#157215)
## Summary

Adds the 8.8 documentation for the following:

- Enable report sharing: https://github.com/elastic/kibana/pull/153429
Docs preview:
https://kibana_157215.docs-preview.app.elstc.co/guide/en/kibana/master/reporting-getting-started.html

- Random sampling feature: https://github.com/elastic/kibana/pull/143221
Docs preview:
https://kibana_157215.docs-preview.app.elstc.co/guide/en/kibana/master/lens.html#improve-visualization-loading-time

- Improve Ignore global filters UI:
https://github.com/elastic/kibana/pull/154441 and
https://github.com/elastic/kibana/pull/155280
Docs preview:
https://kibana_157215.docs-preview.app.elstc.co/guide/en/kibana/master/lens.html#add-annotations

---------

Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
2023-05-23 10:41:42 -05:00
István Zoltán Szabó
a3c940f0cd
[DOCS] Adds log pattern analysis in Discover docs (#158059)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2023-05-22 12:34:15 +02:00
Lisa Cawley
93b15b14e5
[DOCS] Maintenance windows (#157806) 2023-05-17 11:01:40 -07:00
gchaps
7cab4edab7
[DOCS] Adds drag & drop to Discover (#157340)
## Summary

This PR adds documentation for:

- Drag and drop from Available Fields list
- Wildcards in field searches
- All sources and matching sources in Create Data View
2023-05-16 15:35:47 -07:00
Kaarina Tungseth
0689c638d3
[DOCS] Adds the presentation 8.8 docs (#157765)
## Summary

Adds the docs for the following 8.8 Presentation docs:

- Unified dashboard settings:
https://github.com/elastic/kibana/pull/153862
Docs preview:
https://kibana_157765.docs-preview.app.elstc.co/guide/en/kibana/master/dashboard.html#add-dashboard-settings

- Add reset button: https://github.com/elastic/kibana/pull/154872
Docs preview:
https://kibana_157765.docs-preview.app.elstc.co/guide/en/kibana/master/dashboard.html#reset-the-dashboard

---------

Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
2023-05-16 14:21:01 -05:00
István Zoltán Szabó
e6bec5b669
[DOCS] Documents AIOps Labs enhancements (#157716)
Co-authored-by: Dima Arnautov <arnautov.dima@gmail.com>
2023-05-15 17:22:16 +02:00