Commit graph

55 commits

Author SHA1 Message Date
Larry Gregory 74030c97a9
Add support for deprecated roles (#57209)
* Add support for deprecated roles

* address PR feedback

* remove unused import

* copy edits

* fix snapshots

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-03 13:23:53 -05:00
Wylie Conlon 07fec2f725
Documentation for numeral pattern formatting (#57616)
* Documentation for Elastic Numeral formatting

* Tweaks from feedback

* Updates from feedback

* Fix and update examples

* Add TODOs

* Fix typo

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-26 14:17:59 -05:00
Lukas Olson 7e087633d2
Remove unused indexPattern:fieldMapping:lookBack advanced setting (#58147)
* Remove unused indexPattern:fieldMapping:lookBack advanced setting

* Remove unused translations

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-24 14:44:03 -07:00
Michail Yasonik 5cfc5ef9ff
Reverting grouped nav UI (#57724)
* reverting grouped nav ui

* removing Management name change
2020-02-20 09:14:11 -05:00
gchaps 356e3a4776
[DOCS] Adds Save to Advanced Settings doc (#57696)
* [DOCS] Adds Save to Advanced Settings doc

* [DOCS] Incorporates review comments
2020-02-14 08:24:27 -08:00
Ben Skelker 404ac3bc28
siem 7.6 updates (#57169) 2020-02-10 21:59:28 +02:00
Michail Yasonik a08116f542
Adding docs for grouped nav advanced setting (#57013)
* Adding docs for grouped nav advanced setting
2020-02-06 18:00:21 -05:00
gchaps 3c80ea22eb
[DOCS] Improves Management section in docs (#56669)
* [DOCS] Improves Management section in docs

* [DOCS] Fixes build error

* [DOCS] Incorporates review comments in management docs
2020-02-06 09:16:32 -08:00
Andrew Goldstein 56ff721867
[SIEM] New Overview Page (#54783)
## [SIEM] Overview Page "1.5"

A redesigned SIEM Overview page that includes `Recent timelines`, a `Security news` feed, visualizations, and rolled-up event counts

![overview-day](https://user-images.githubusercontent.com/4459398/72396016-90f53600-36f8-11ea-9b41-6d54d09de589.png)

![overview-night](https://user-images.githubusercontent.com/4459398/72394575-fb57a780-36f3-11ea-868e-8fcd2c5c4543.png)

### Overview enhancements
- Added the global Search bar and Date picker to the Overview page
- New `Recent timelines` widget affords quick access to favorite and recently modified timelines
- New `Security news` widget
- New Kibana advanced settings (toggle switch) for enabling or disabling the news widget and configuring the news URL
![news-settings](https://user-images.githubusercontent.com/4459398/72362776-fd4c4700-36b0-11ea-805b-3c7353f2c1cd.png)
- New `Events count by dataset` widget
- Updated the `Host Events` and `Network Events` widgets to integrate with the Search bar and date picker input
- Enhanced the `Host Events` and `Network Events` widgets to use an accordion paradigm that summarizes stats by source (e.g. `Auditbeat`, `Endgame`)
- Enhanced the `Host Events` and `Network Events` widgets to visualize relative percentages of events collected as progress bars
- New `Alerts count by category` widget
- New `Signals count by MITRE ATT&CK™ category` widget
- New `View events`, `View alerts`, and `View signals` navigation buttons for their respective visualizations


### FTUE enhancements
- FTUE "no data" view design refresh
![ftue](https://user-images.githubusercontent.com/4459398/72361771-43a0a680-36af-11ea-969f-5872ac4a01a1.png)
- When the FTUE "no data" page is displayed, hide all global navigation links (i.e. `Hosts`, `Network`, `Detection engine`), such that only `Overview` appears in the global nav
- App Help popover design refresh
![help](https://user-images.githubusercontent.com/4459398/72362132-d80b0900-36af-11ea-9b58-1fd3b923b7c8.png)
- Removed the `Beta` badge and `Security Information & Event Management with the Elastic Stack` from the Overview header

- Tested in Chrome `79.0.3945.117`, Firefox `72.0.1`, and Safari `13.0.4`

## Known issues

- The `siem:newsFeedUrl` advanced setting is defaulted to `https://feeds.elastic.co/kibana`
- The `Signals count by MITRE ATT&CK™ category` visualization does not display all categories
- The `Signals count by MITRE ATT&CK™ category` visualization may require a different index pattern
- `EuiButtonGroup` throwing a `Can't perform a React state update on an unmounted component` warning when switching from the Overview tab

https://github.com/elastic/siem-team/issues/484
2020-01-14 21:03:57 -07:00
gchaps f7ba36279e
[DOCS] Removes dashboard search batching setting (#54594)
* [DOCS] Removes dashboard search batching setting

* [DOCS] Keeps content for search setting and adds deprecation notice

* [DOCS] Fixes version notice in deprecation notice
2020-01-13 10:19:20 -08:00
Larry Gregory 014f095f5c
[Docs] - adding defaultRoute setting docs (#50952)
* adding defaultRoute setting docs

* improving documentation

* Apply suggestions from code review

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* address PR feedback


Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2019-11-20 08:53:04 -05:00
Nate Archer 51a6eeb6c2
[DOCS][SIEM]: Change Kibana advanced settings to match UI (#50679)
* [DOCS] Fix beta tag in Code Docs

* Change kibana advanced settings to match UI

* Add random line break for illustration
2019-11-14 14:42:48 -06:00
Luca Belluccini b0dd6c8c71 Provide an example for timepicker:refreshIntervalDefaults (#47345)
* Provide an example for timepicker:refreshIntervalDefaults

Add an example for `timepicker:refreshIntervalDefaults`

* align with master
2019-10-15 10:14:09 -07:00
Lukas Olson bfb0df92ad
Add docs for courier:batchSearches UI setting (#46053)
* Add docs for courier:batchSearches UI setting

* Update ui_setting_defaults.js

* Update ui_setting_defaults.js

* Update advanced-options.asciidoc

* Update advanced-options.asciidoc

* Update ui_setting_defaults.js

* Update advanced-options.asciidoc

* Update ui_setting_defaults.js
2019-09-25 17:35:44 -07:00
benskelker 5ed45fa86f
[Docs] Add SIEM advanced settings to the documentation (#46139)
* Add advanced SIEM settings

* Correct description of siem:defaultIndex field
2019-09-24 09:09:35 +03:00
Nicole 405293a7ae Added an inclusion of, "This setting is off by default..." (#42501)
* Added an inclusion of, "This setting is off by default..."

* Update docs/management/advanced-options.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-08-08 01:18:41 +00:00
Matthias Wilhelm 3562683df7
Add missing doc for dateNanosFormat (#42459) 2019-08-02 06:00:01 +02:00
Matt Bargar 90ec9bc6b6
Add advanced setting to turn off search on Discover's initial page load (#42036)
Discover currently executes a search as soon as it loads. For some users this is useful. But for others it may return worthless results at the expense of extra load on their ES cluster and increased page load times, making it harder to get to the data they actually want. This PR adds an advanced setting allowing users to turn off the "search on page load" functionality in Discover.
2019-07-31 18:59:41 -04:00
James Rodewig 6d7ccbe2a0
[DOCS] Update anchors and links for Elasticserach API relocation. (#41372) 2019-07-19 15:16:57 -04:00
James Rodewig 8571d56839
Revert "[DOCS] Fix broken links for ES API docs move (#41001)" (#41056)
This reverts commit dd34150467.
2019-07-12 17:40:59 -04:00
James Rodewig dd34150467
[DOCS] Fix broken links for ES API docs move (#41001) 2019-07-12 12:15:40 -04:00
Marco Vettorello 762665029f
Configure GraphiteURLs whitelist from kibana.kml (#39480) 2019-07-10 15:04:19 +02:00
Brandon Kobel 41b326ece3
[docs][skip ci] Read only access for @elastic/kibana-app applications (#35560)
* Adding read-only mode section to Discover

* No more "mode" or "badge" terminology

* Putting newline back

* Adding "Saving" section for visualize

* Adding dashboard read only access section

* Timelion gets read-only documentation

* Adding read only access section to index patterns and advanced settings

* Adding graph read only access section
2019-06-06 08:08:18 -07:00
Tim Roes c252732f02
Improve links (#36639) 2019-05-20 09:08:05 -04:00
gchaps cb0335c095
[DOCS] Updates Advanced Settings doc (#36455)
* [DOCS] Updates Advanced Settings doc

* Update docs/management/advanced-options.asciidoc

Co-Authored-By: Sarah Hersh <schersh@users.noreply.github.com>
2019-05-10 13:22:46 -07:00
Lukas Olson a848840501
Remove segmented fetch (#33453)
* Remove segmented fetch

* Fix namespace

* Remove unused translations
2019-03-27 14:14:01 -07:00
Lukas Olson 598fee3bb4
Add docs for savedObjects:listingLimit advanced setting (#31593) 2019-02-21 08:17:21 -07:00
Tim Roes 91a3361975
Renamed the kuery setting to KQL (#29587)
* Allow select settings to specify labels for their values

* Rename kuery setting to KQL

* Change docs for KQL setting

* Add warnings for unused options

* Address review

* Remove chinese translation for modified string

* Fix translations again (... should have pulled first)

* Remove old chinese translation
2019-02-19 11:58:29 +01:00
Matt Bargar af2da97974
Makes KQL the default query language for new searches (#27092)
Changes the default query language to KQL in all apps that respect the `search:queryLanguage` advanced setting.
2019-02-06 17:18:25 -05:00
Lisa Cawley b71b815658
[DOCS] Removes problematic float (#29875) 2019-02-01 15:27:09 -08:00
Spencer c052613962
[dashboard+gis] remove dark mode options (#29017)
* [dashboard+gis] remove dark mode options

* [reporting/extract] restore fixtures

* remove mentions of old `.theme-dark` class

* import panel styles from panel/_index.scss
2019-01-23 14:29:35 -08:00
Fabien Baligand 9254c829fb Add setting to hide the 'Time' column in discover and saved searches. 2019-01-09 16:23:21 -07:00
Tim Roes 8964523f41
Add setting to enable frozen index search (#27297)
* Add setting to enable frozen index search

* Add description to docs

* Fix method calls
2018-12-17 22:21:34 +01:00
Matt Bargar 15322e7256
Expose max_concurrent_shard_requests for _msearch requests (#22379)
Allows Kibana users to configure the max_concurrent_shard_requests param used by Kibana when sending _msearch requests. Exposes the config as an advanced setting. By default we won't send the param at all, relying on the ES default instead.
2018-09-11 11:23:18 -04:00
Jen Huang 1259007745
Advanced Settings to React/EUI (#17465) 2018-05-07 12:48:27 -07:00
gchaps ca8fb2b065
[DOCS] Minor changes to Advanced Settings and Featured Visualizations (#17778) 2018-04-18 14:40:20 -07:00
Matt Bargar aeaf57dd97
Add query enhancements opt-in switch to query bar (#17232)
Makes our language updates more visible to users and removes mentions of Kuery as a separate language. Users still get the old lucene experience by default, but have the option to opt-in to "experimental query features" directly in the query bar. Goal is to get more feedback by making these new features more prominent and less of a jump from lucene.
2018-03-22 15:47:52 -04:00
Lukas Olson 0f00c23a68
Kibana query language autocomplete (#15945)
* First stab at refactoring typeahead

* Don't double submit on enter

* Add item templating

* Introduce simple kuery language

* Rename to kql and add modules

* Update KQL syntax

* Automatically insert matching pairs

* Don't match quotes after alphanumeric chars

* Get field and value suggestions

* Remove accidental changes

* Remove unnecessary test

* Don't submit on enter

* Fix typeahead

* Suggest matching recent searches

* Suggest operators

* Suggest conjunctions

* Use template, separate suggestions into separate modules

* Whoops, add this module back

* Add clarifying comment

* Fix history log key

* Don't update suggestions on every key press

* Fix key handling

* Update terminology to be clearer

* Fix typo

* Simplify building of nodes

* Don't always hide on submit

* Check items exists

* Add icon directive which wraps EuiIcon.

* kql design start

* remove comment bits

* Simplify select next/prev and reset selected on hide/backspace

* Add test

* Put persistedLog on scope so it can be tested

* Fix typos

* Build up AST for sublist by returning functions that take a field name

* Remove single quoted strings and add double quote to special characters

* Build nodes with arg nodes instead of args themselves

* Add support for exact phrase search for quoted values

* Update typeahead items when language changes

* Finish that work I didn't do in the last commit

* This commit makes Bargs very happy cuz it does a lot

* Add wildcard field support to range query

* Remove range support for wildcard values

* Remove KQL as a separate language

Updates kuery to use KQL's grammar. This will lead to a smoother
transition for both us and Kuery users. We mainly added KQL as a
separate language so that we could notify Kuery users that the syntax
had changed. I realized we could do the same by trying to parse their
query strings with the old grammar if the new grammar fails, and if the
old grammar parses successfully we can display an error message with a
link to the docs describing the syntax changes. Since Kuery now uses the
more simple KQL syntax, I've also re-enabled the filter bar when Kuery
is selected.

* Fix typeahead behavior

* Update conjunctions

* Use scope apply

* Suggest conjunctions after ranges

* Support strings in wildcard node constructor and add tests for wildcard node

* test updates

* Removing unused serializeStyle and toKueryExpression, updating tests

* Fix functional test

* Fix typo

* Show fields that match in any part of the name

* Alter order of operators

* Preserve focus after selecting by click

* Ports tests for `fromKueryExpression` to `fromKqlExpression`

* More KQL syntax tests

* Suggest conjunctions after ranges

* Fix suggestions inside parens

* fromLiteralExpression tests

* remove serializeStyle arguments which no longer exist in the function definition

* tests for getFields

* Case insensitive search for field names

* update tests for is.js

* add wildcard fieldname test for range.js

* Fix removed div

* Fix line spacing for autocomplete suggestions

* Fix conjunction suggestions with escaped preceding literals

* Escape special characters in fields and values

* Don't suggest the value that's already selected

* Update icons

* Sort prefix first

* Simplify cursor detection and suggest booleans

* Use quotes for suggested values

* get rid of references to KQL

* Don't show errors from parsing

* That didn't even exist

* Use config to determine if values are suggested

* Update suggestions on home/end

* remove hack

* Update reference to kql

* Suggestions for quoted values

* Clean up grammar

* Better support for cursor inside spaces

* Create grunt task to generate parsers from peg files

* Simplify wildcard handling

* Don't filter out the exact fields/values

* Update parsing modules

* Fix peg task

* Make operator syntax more visible

* Update OR verbiage

* Simplify and improve match pairs

* Revert "Simplify wildcard handling"

This reverts commit 915861beab.

* Support escaped backslashes inside quoted strings

* Support escaped keywords

* Remove lodash dependency cuz w33ble

* Escape user input and fix conjunction description

* Clear suggestions after submitting

* Fix insertion of suggestion to account for selection

* Remove unnecessary?

* Remove extraneous file

* Better name for method

* Move functions out of event handler

* Don't wrap result in promise

* Don't show kuery suggestions for lucene

* some cleanup and polish for kql autocomplete

* Omit description completely for values

* Don't suggest and/or for quoted strings that end in spaces

* Submit recent search suggestions on select

* Scroll selected suggestion into view

* Better handling of key events and hiding typeahead

* Update suggestions to work in other apps with multiple index patterns

* Only update suggestions if not submitting

* Hide suggestions on focus

* Simplify wildcard (again)

* Fix console error

* Remove references to kql

* Fix match pairs so that suggestions occur with cursor in correct place

* Memoize value suggestions

* Debounce model updates

* Add tests for suggestion providers

* Add setting and docs

* Add custom error, helper for detecting leading wildcards, and check for
leading wildcards in the Value rule of the grammar.

* Better handling of suggestion clicks

* Dedup suggestions

* Sort keywords first

* Fix value suggestions memoizing

* Check if query exists

* Reduce size of dialog and fix ranges

* Create grunt task to generate parsers from peg files

* Lazy load typeahead items

* Fix wildcard tests

* Fix value suggestion tests

* Fix typeahead tests

* Fix value suggestion memoize resolver

* Leave comment

* Add a ttl for the value suggestion resolver

* Move grunt config to config/

* Bargs can suck it

* Fix more tests that bargs broke (and one I did too)

* Fix tests
2018-03-22 08:51:35 -07:00
Thomas Neirynck 2e02b78a9a
Add enableLabs to docs (#16301) 2018-01-30 11:50:38 -05:00
Lukas Olson e6b65fc4c6
Add advanced setting to control quick ranges (#15975)
* Add advanced setting to control quick ranges

* Fix test

* Add docs for quick ranges

* Remove comment
2018-01-12 14:11:42 -07:00
Matt Bargar 3043ee78c8 Check sort:options for Discover default sort order (#13708)
* Check sort:options for Discover default sort order

I went back and forth on a lot of different solutions for this.

Initially I thought it would make sense to just allow users to set a
default saved search in Discover. There were some problems with that
approach though. It would change the default workflow in Discover.
Instead of starting with an unsaved search, users would be editing a
saved search by default. I could see this leading to a lot of
unintentional changes to the default. The settings from the default
saved search also wouldn't carry over to new searches, which I think
would be desirable most of the time.

I also considered adding a new advanced setting for specifying a default
sort field/direction. This kind of setting would make more sense at the
index pattern level though. One field may not be valid across all index
patterns.

So I ended up going with the simplest solution. It solves the issue
identified by the author of the linked issue and nothing more. If a sort
order is specified in the existing sort:options advanced setting, we'll
use that direction when sorting on the index pattern's timestamp field
by default.

Fixes https://github.com/elastic/kibana/issues/5164

* Create a new advanced setting instead of re-using sort:options

* Just pass a default order
2017-08-29 15:42:36 -04:00
Lukas Olson 19ac99a388 Re-enable filter editor suggestions (#13376)
* Re-enable filter editor suggestions

* Use search instead of include

* Escape query

* Show spinner

* Use include rather than search

* Add additional regex and explanation for parameters

* Add suggestions API test

* Make sure test actually runs

* Use send instead of query

* Fix suggestions API test
2017-08-25 16:38:49 -07:00
Lukas Olson 54622755f8 Remove highlight query (#13231)
* Change use of all_fields in highlight_query to default_field

* Remove highlight query and option

* Fix tests

* Remove unused setting

* Remove lingering references to all_fields
2017-08-07 13:34:11 -07:00
Thomas Neirynck 5fe682dfc2 Improve region map documentation (#13319) 2017-08-03 14:46:16 -04:00
Matt Bargar d379e9a35b Implement new Kibana query language (#12624)
Initial version of an experimental new query language for Kibana.
2017-07-21 11:55:15 -04:00
Lukas Olson 055080521c Make filter editor suggestions opt-in (#12710)
* Add shard_size to the suggestions terms agg request

* Make filter editor suggestions opt-in

* Add size parameter
2017-07-11 10:46:55 -07:00
Lisa Cawley e21a133e00 [DOCS] Update Kibana Guide to use shared attributes (#12505)
* [DOCS] Update Kibana Guide to use shared attributes

* [DOCS] Add docs repository path
2017-06-27 10:13:42 -07:00
Felix Stürmer a2727ececf [context view] Use _doc for tie-breaking instead of _uid (#12096)
Using fields with docvalues (like `_doc`) for tie-breaking yields
significantly better performance than using `_uid`, which lacks
docvalues at the moment. The downside is that sorting by `_doc` by
default is not stable under all conditions, but better than no
tie-breaking at all.

The new setting `context:tieBreakingFields` enables the user to
customize the list of fields Kibana attempts to use for tie-breaking.
The first field from that list, that is sortable in the current index
pattern, will be used. It defaults to `_doc`, which should change to
`_seq_no` from version 6.0 on.

In addition to just showing a notification, errors that occur while
loading documents from the database will be stored as part of the
`loadingStatus` along with a reason code (if known). This is used to
display more nuanced and helpful error messages to the user.

The first such error message indicates a missing or invalid tiebreaker
field required for sorting the context.
2017-06-08 12:21:52 +02:00
Thomas Neirynck 2270a6c24f Add Region Map Visualization
- Users can now create choropleth maps. This requires configuring an inner join between the results of a term-aggregation and a reference vector layer. This vector layer needs to be in the GeoJson format. By default, Kibana uses vector layers serverd by a data service hosted by Elastic. Users can also bring in their own layers by adding configuration entries in the kibana.yml. These need to point to a CORS-enabled data service that accepts requests from the Kibana application.
- For clarity, the tilemap is renamed to Coordinate Map.
- A new manifest is published by Elastic. this includes metadata for the available tilemap services, as well as metadata for the available vector data layers.
2017-05-31 16:56:02 -04:00
Thomas Neirynck c1e09d5b0e Add aggregation size to Advanced Settings (#11818)
The discover:aggs:terms:size config value was never added to the default values, so when the trash-button is clicked it removes the config completely and causes discover to send an empty size param to visualize.
2017-05-16 16:50:32 -04:00