Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vector map #10448

Closed
wants to merge 150 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
31db424
Add info notifications for adding visualizations to the dashboard (#1…
stacey-gammon Feb 14, 2017
bd966db
Fix highlight config so it doesn't require a refresh to apply (#10346)
lukasolson Feb 14, 2017
9a3a78b
Fix CheckBox and ToolBarSearchBox icon positioning. (#10356)
cjcenizal Feb 15, 2017
9b447c5
Fix position of button tooltips in the Dashboard and Visualize listin…
cjcenizal Feb 15, 2017
4c85fd4
Vislib Point Series Charts (#9642)
ppisljar Feb 15, 2017
c3c8e55
fixing broken group bar chart (#10313)
ppisljar Feb 15, 2017
723c7c1
cumulative sum, moving avg and serial diff pipeline aggregation metri…
ppisljar Feb 15, 2017
9b39a19
[optimizer] use "unsafe" defaults that have proven to be safe enough …
spalger Feb 15, 2017
e2cd8ee
Fix position and appearance of magnifying glass icon when opening a S…
cjcenizal Feb 15, 2017
686a709
fixes error with saving hidden metrics (#10220)
ppisljar Feb 16, 2017
f002e5d
Add isFetchingItems flag to disable the PromptForItems when fetching …
cjcenizal Feb 16, 2017
408a2e6
Fix Safari bug: Safari ignores :enabled pseudo class, preventing butt…
cjcenizal Feb 16, 2017
9bc4d91
Updates to status API, re-align status page (#10180)
jbudz Feb 16, 2017
e1b677a
[build] Add notice file (#10344)
jbudz Feb 16, 2017
bfadc5e
Adjust Table component styles and markup to maintain fixed column wid…
cjcenizal Feb 16, 2017
7c02f3b
Hide inline filters in absence of filter function (#10394)
weltenwort Feb 16, 2017
9120d17
[plugin cli] Fix file:/// paths on Windows (#10083)
jbudz Feb 16, 2017
1a84ce1
Re-use the filter function for inline filtering (#10395)
weltenwort Feb 16, 2017
9cfbd3d
Fix issue where selected columns persist when creating a new search (…
lukasolson Feb 16, 2017
c5d3fd5
[courier] resolve looper iteration when requests are aborted (#10392)
spalger Feb 16, 2017
60b36f7
Stub node's fs when using webpack (#10411)
Feb 16, 2017
2fb2b4c
Adding attributes to be used by sharing (#10234)
kobelb Feb 17, 2017
e570afc
Migrate from a handrolled interface for building examples to using Re…
cjcenizal Feb 18, 2017
15d1e7c
Do not generate msearch request for visualizations that set requiresS…
nreese Feb 20, 2017
a3ddaa1
Add addTimeMarker to PointSeries chart config (#10169)
coverslide Feb 21, 2017
a5f4ac2
[ui/tilemap] switch tile service based on env (#10007)
spalger Feb 21, 2017
623c0d3
Add shard allocation plugin (#10482)
thomasneirynck Feb 21, 2017
1be84bb
Add Cohort analysis plugin in the known plugins (#9697)
mikedias Feb 21, 2017
47ca135
Update known-plugins.asciidoc (#10301) (#10493)
thomasneirynck Feb 21, 2017
5f58cd5
Update known-plugins.asciidoc (#9693) (#10496)
thomasneirynck Feb 21, 2017
21d9e5a
fixing heatmap y axis labels (#10462)
ppisljar Feb 22, 2017
3d77727
typo in word normal (#10485)
killolol Feb 22, 2017
0bd7f42
Executing the visualize shared-item title/description tests in a try …
kobelb Feb 22, 2017
ca71e37
fixing heatmap labels (#10334)
ppisljar Feb 22, 2017
2cb4d51
Bump makelogs to 3.2.3 (#10510)
jbudz Feb 22, 2017
85facdd
Show event context (#9198)
weltenwort Feb 22, 2017
7cc913d
[npm] upgrade elasticsearch-js (#10509)
spalger Feb 22, 2017
9de7ad9
[Promise.race/tests] make completion time an inclusive range (#10511)
spalger Feb 22, 2017
a0536b1
Fixing a naming collision the shared-item visualize tests were hittin…
kobelb Feb 22, 2017
a93f8e2
[breadcrumbs] - fix breadcrumb url matcher, add management intermedia…
coverslide Feb 22, 2017
a8989cc
docs: Fixes key for Tribe's requestTimeout (#10525)
elastic-jasper Feb 23, 2017
925b7da
Apply kui framework styles to single doc view (#10200)
weltenwort Feb 23, 2017
743f8c0
[UI Framework] Add View component. Add support for full-screen exampl…
cjcenizal Feb 23, 2017
e198023
Bring back appStatus.dirty - it was part of the public plugin API (#1…
stacey-gammon Feb 23, 2017
864a2fb
Show warning when importing a missing type (#10521)
w33ble Feb 23, 2017
dd640d7
Add EventsSandbox and HeaderBarSandbox examples. (#10544)
cjcenizal Feb 23, 2017
1cf8277
Add Fluid Table component. (#10516)
cjcenizal Feb 23, 2017
76d1a46
Add example of Table with MenuButtons. (#10554)
cjcenizal Feb 23, 2017
92d9e47
Document Monitoring settings under Docker (#10497)
jarpy Feb 24, 2017
4c5044a
Clarifying changing chart type option (#10463)
ppisljar Feb 24, 2017
c253583
Warn if the title is a duplicate (#10321)
stacey-gammon Feb 24, 2017
0333fda
[optimize] Load babel environment variables before babel-register (#1…
jbudz Feb 24, 2017
3df84ee
Document xpack.monitoring.ui.container.elasticsearch.enabled for Dock…
jarpy Feb 24, 2017
be177cc
fixing custom label issue with point series charts (#10465)
ppisljar Feb 24, 2017
d38e3c2
Merge branch 'metrics' of https://github.com/simianhacker/kibana into…
ppisljar Feb 24, 2017
7084d55
using field formatters for heatmap legend (#10529)
ppisljar Feb 24, 2017
c2f9ff2
Add support for content on both the left and right sides of PanelHead…
cjcenizal Feb 25, 2017
e98efa9
show buckets from top to bottom in horizontal bar chart (#10464)
ppisljar Feb 27, 2017
38ca174
Correct display of warning header (#10470)
jasontedor Feb 27, 2017
327fef3
fixing heatmap rotate checkbox (#10333)
ppisljar Feb 27, 2017
809719d
remove custom label for terms order agg and parent pipeline agg metri…
ppisljar Feb 27, 2017
0ce64bd
Fixing misspelling in dashboard notifications (#10593)
kobelb Feb 27, 2017
a6246e5
CSS fix for scrollable doc table in FireFox (#10592)
stacey-gammon Feb 27, 2017
805cac2
[functional tests] implement clickTestSubject helper (#10576)
spalger Feb 27, 2017
b3805f7
[UI Framework] Refine Tab focused and selected states. (#10560)
cjcenizal Feb 27, 2017
d6bf621
Update Index Pattern header to use UI Framework components. (#10390)
cjcenizal Feb 28, 2017
44e7248
allowing 0 for extent value (#10528)
ppisljar Feb 28, 2017
b5180a0
Force kuiLink to have cursor pointer, even if there's no href. (#10625)
cjcenizal Mar 1, 2017
e85a38e
[UI Framework] Add ToggleButton component and add example of expanded…
cjcenizal Mar 1, 2017
ac4abae
fixing split chart axis (#10589)
ppisljar Mar 1, 2017
e326567
[docs] XPACK_SECURTY_ENABLED env var for Docker (#10608)
jarpy Mar 1, 2017
841a3d2
Sum, Avg, Min and Max bucket pipeline aggregation (#10070)
ppisljar Mar 1, 2017
9796832
Fix bug with MenuButton hover state inheriting Bootstrap styles. (#10…
cjcenizal Mar 1, 2017
67d9188
fix missing axis label (#10615)
ppisljar Mar 1, 2017
3b0c41c
When a date is selected in absolute mode, set to start/end of day (#1…
lukasolson Mar 1, 2017
b19e16c
do not render the visualization/search if there is an error (#10500)
scampi Mar 1, 2017
5b4276c
[UI Framework] Close Code Viewer when you navigate to a new example. …
cjcenizal Mar 1, 2017
899f040
Modifying timelion redraw logic to fix timing issue (#10486)
kobelb Mar 1, 2017
d1b5c3a
Filter index fields and scripted fields by name only (#10089)
coverslide Mar 1, 2017
cbe26ea
#10099 adds keyboard handling to close confirm_modal on ESC (#10455)
dpenny52 Mar 1, 2017
7cbc22b
Management sections: Allow easy sub-section lookup (#10651)
ycombinator Mar 2, 2017
4f3e625
Time Series Metric Visualizations (#9725)
simianhacker Mar 2, 2017
7fb7eb9
Rename Side Nav Link title and href attributes to label and url. (#10…
cjcenizal Mar 2, 2017
0ab20b0
Adding common folder for isomorphic code; changing paths (#10668)
simianhacker Mar 2, 2017
7aecc85
[git] ignore yarn.lock file (#10667)
spalger Mar 3, 2017
1808e88
Fixing query to field status to use integer instead of timestamp stri…
simianhacker Mar 3, 2017
5a0a487
Update doc table when auto refresh contains doc updates (#10385)
Bargs Mar 3, 2017
a38ae49
Moving front-end code out of devDependencies (#10670)
simianhacker Mar 3, 2017
9e39956
build: always run build task in jenkins (#10689)
epixa Mar 3, 2017
b804ea0
[ui/resize_checker] extract from vislib and use resize-observer polyf…
spalger Mar 3, 2017
82b37aa
Prompt about overwriting existing saved objects (#10663)
w33ble Mar 4, 2017
08b9535
Fixing resizing for charts on dashboard (#10706)
simianhacker Mar 4, 2017
46c9605
Handle importing invalid types (#10666)
w33ble Mar 4, 2017
053ebfa
Fixing the title removal for gauges, metric, and markdown for Time Se…
simianhacker Mar 4, 2017
06049c2
propose language changes (#10709)
Mar 5, 2017
36aadda
Updated broken url in CONTRIBUTING.md (#10715)
mathijshoogland Mar 8, 2017
26ec66b
typo in constraits (#10714)
Mar 8, 2017
30bbf3a
Allow queuing up of confirm modals. (#10723)
stacey-gammon Mar 9, 2017
502843a
Exposes the stageEditableVis to fullEditor editors Fixes #10718 (#10720)
simianhacker Mar 9, 2017
d1b5056
fixing console documentation (#10751)
ppisljar Mar 11, 2017
a1252f1
Update known-plugins.asciidoc (#10738)
yershalom Mar 12, 2017
1b7af07
Syntax fixes test code (#10747)
mathijshoogland Mar 12, 2017
af6bb1c
Remove some lodash usage (#10746)
Joostrothweiler Mar 14, 2017
9902513
Fix background-color hover bug with Basic Button in ToolBar. (#10772)
cjcenizal Mar 15, 2017
23b2c73
[Management] Apply kuiPanelHeaderSections to product panels (#10622)
tsullivan Mar 16, 2017
23ac54d
[UI Framework] Move Badge, Card, Column, and Notice components from b…
cjcenizal Mar 16, 2017
3bcb7dd
Adds disabled, visible, and tooltip properties to section class/templ…
BigFunger Mar 17, 2017
3e53525
[UI Framework] Add Label, SearchInput, and FieldGroup components. (#1…
cjcenizal Mar 17, 2017
84eed3a
Highlight area chart when hovered (#10460)
coverslide Mar 18, 2017
0c3444f
Tilemap heatmap - to prevent flickering on mousemove, keep reference …
coverslide Mar 18, 2017
be2cb4b
Moving handlebars from a devDependency to a dependency (#10801)
kobelb Mar 20, 2017
5e7b471
Fixes for resize bug that showed up in demo (#10750)
simianhacker Mar 20, 2017
d22861f
UI Tweaks for Time Series Visual Builder (#10739)
simianhacker Mar 20, 2017
3aa5938
Kibana Globalization - Phase 2 (#8766)
hickeyma Mar 20, 2017
e1dbbf8
bootstrap
thomasneirynck Feb 17, 2017
96d5ba7
enable WMS
thomasneirynck Feb 21, 2017
0900e9a
extract choropleth in separate class
thomasneirynck Feb 21, 2017
35dda8a
isolate geohash layer in separate module
thomasneirynck Feb 21, 2017
58f7263
add desaturation flag / more efficient refreshing of baselayer
thomasneirynck Feb 22, 2017
b053d96
add remaining map types
thomasneirynck Feb 22, 2017
386114a
add fit control
thomasneirynck Feb 24, 2017
0b0e7c0
add legend control
thomasneirynck Feb 27, 2017
8519ad5
add tooltip flag
thomasneirynck Feb 28, 2017
295bf51
some simplification
thomasneirynck Feb 28, 2017
2a14e1e
fix choropleth
thomasneirynck Feb 28, 2017
7813a9f
do not request manifest on route-change, instead call it when creatin…
thomasneirynck Feb 28, 2017
6a1eed1
fix typo
thomasneirynck Feb 28, 2017
578e01b
add rendercomplete
thomasneirynck Feb 28, 2017
bc81b16
initial review
thomasneirynck Feb 28, 2017
9083d5e
fix resizing
thomasneirynck Feb 28, 2017
e0b42f9
add tooltips
thomasneirynck Mar 1, 2017
5ea4d7e
add legend
thomasneirynck Mar 1, 2017
a32e33f
fix linting errors
thomasneirynck Mar 1, 2017
81c8fa6
add rendercomplete
thomasneirynck Mar 1, 2017
9987cd8
fix package json
thomasneirynck Mar 1, 2017
c89639f
make 0 the default
thomasneirynck Mar 3, 2017
7e5a77e
disable multi tile-map support
thomasneirynck Mar 3, 2017
19d6243
use the ResizeChecker
thomasneirynck Mar 3, 2017
76aff13
use yml for layer config
thomasneirynck Mar 5, 2017
0375354
use default config
thomasneirynck Mar 5, 2017
8ff0758
persist ui state
thomasneirynck Mar 5, 2017
759a360
add default controls
thomasneirynck Mar 5, 2017
8b6d7b3
use kui UX
thomasneirynck Mar 5, 2017
9b81cdc
use geocentroid as new default
thomasneirynck Mar 6, 2017
3016694
add support for states
thomasneirynck Mar 6, 2017
3008db8
fix config loading
thomasneirynck Mar 6, 2017
a7f24dd
extract classes in separate files
thomasneirynck Mar 17, 2017
88a97f8
do not hardcode map zoom level to calculate max zoom
thomasneirynck Mar 17, 2017
cfdb742
resolve style issues
thomasneirynck Mar 17, 2017
c3b87a3
fix rebase issues
thomasneirynck Mar 20, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ selenium
*.swo
*.out
ui_framework/doc_site/build/*.js*
yarn.lock
17 changes: 8 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,16 +146,15 @@ Now you can point your web browser to https://localhost:5601 and start using Kib

#### Customizing `config/kibana.dev.yml`

The `config/kibana.yml` file stores user configuration directives. Since this file is checked into source control, however, developer preferences can't be saved without the risk of accidentally committing the modified version. To make customizing configuration easier during development, the Kibana CLI will look for a `config/kibana.dev.yml` file if run with the `--dev` flag. This file behaves just like the non-dev version and accepts any of the [standard settings](https://www.elastic.co/guide/en/kibana/master/kibana-server-properties.html).
The `config/kibana.yml` file stores user configuration directives. Since this file is checked into source control, however, developer preferences can't be saved without the risk of accidentally committing the modified version. To make customizing configuration easier during development, the Kibana CLI will look for a `config/kibana.dev.yml` file if run with the `--dev` flag. This file behaves just like the non-dev version and accepts any of the [standard settings](https://www.elastic.co/guide/en/kibana/current/settings.html).

The `config/kibana.dev.yml` file is very commonly used to store some opt-in/**unsafe** optimizer tweaks which can significantly increase build performance. Below is a commonly used `config/kibana.dev.yml` file, but additional options can be found [in #4611](https://github.com/elastic/kibana/pull/4611#issue-99706918).
#### Potential Optimization Pitfalls

```yaml
optimize:
sourceMaps: '#cheap-source-map' # options -> http://webpack.github.io/docs/configuration.html#devtool
unsafeCache: true
lazyPrebuild: false
```
In development mode, Kibana runs a customized version of [Webpack](http://webpack.github.io/) with some optimizations enabled to make building the browser bundles as fast as possible. These optimizations make the build process about 2x as fast for initial builds, and about 7x faster for rebuilds, but are labeled "unsafe" by Webpack because they can sometimes cause changes to go unnoticed by the compiler. If you experience any of the scenarios below either restart the dev server, or add `optimize.unsafeCache: false` to your `config/kibana.dev.yml` file to disable these optimizations completely.

- Webpack is trying to include a file in the bundle that I deleted and is now complaining about it is missing
- A module id that used to resolve to a single file now resolves to a directory, but webpack isn't adapting
- (if you discover other scenarios, please send a PR!)

#### Setting Up SSL

Expand Down Expand Up @@ -375,4 +374,4 @@ Remember, someone is blocked by a pull awaiting review, make it count. Be thorou
1. **Hand it off** If you're the first reviewer and everything looks good but the changes are more than a few lines, hand the pull to someone else to take a second look. Again, try to find the right person to assign it to.
1. **Merge the code** When everything looks good, put in a `LGTM` (looks good to me) comment. Merge into the target branch. Check the labels on the pull to see if backporting is required, and perform the backport if so.

Thank you so much for reading our guidelines! :tada:
Thank you so much for reading our guidelines! :tada:
21 changes: 10 additions & 11 deletions FAQ.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
# Frequently asked questions

**Q:** I'm getting `bin/node/bin/node: not found` but I can see the node binary in the package?
**A:** Kibana 4 packages are architecture specific. Ensure you are using the correct package for your architecture.
**Q:** I'm getting `bin/node/bin/node: not found` but I can see the node binary in the package?
**A:** Kibana 4 packages are architecture specific. Ensure you are using the correct package for your architecture.

**Q:** Where do I go for support?
**A:** Please join us at [discuss.elastic.co](https://discuss.elastic.co) with questions. Your problem might be a bug, but it might just be a misunderstanding, or feature we could improve. We're also available on Freenode in #kibana
**Q:** Where do I go for support?
**A:** Please join us at [discuss.elastic.co](https://discuss.elastic.co) with questions. Your problem might be a bug, but it might just be a misunderstanding, or a feature we could improve. We're also available on Freenode in #kibana

**Q:** Ok, we talked about it and its definitely a bug
**Q:** Ok, we talked about it and its definitely a bug
**A:** Doh, ok, let's get that fixed. File an issue on [github.com/elastic/kibana](https://github.com/elastic/kibana). I'd recommend reading the beginning of the CONTRIBUTING.md, just so you know how we'll handle the issue.

### Kibana 3 Migration
**Q:** Where is feature X that I loved from Kibana 3?
**Q:** Where is feature X that I loved from Kibana 3?
**A:** It might be coming! We’ve published our immediate roadmap as tickets. Check out the beta milestones on GitHub to see if the feature you’re missing is coming soon.

**Q:** Is the dashboard schema compatible?
**A:** Unfortunately, they are not compatible. In order to create the new features we wanted, it simply was not possible to keep the same schema. Aggregations work fundamentally different from facets, the new dashboard isn’t tied to rows and columns and the relationships between searches, visualizations and the dashboard are complex enough that we simply had to design something more flexible.
**Q:** Is the dashboard schema compatible?
**A:** Unfortunately, it is not compatible. In order to create the new features we wanted, it simply was not possible to keep the same schema. Aggregations work fundamentally different from facets, the new dashboard isn’t tied to rows and columns, and the relationships between searches, visualizations and the dashboard are complex enough that we simply had to design something more flexible.

**Q:** How do I do multi-query?
**Q:** How do I execute a multi-query?
**A:** The ‘filters’ aggregations will allow you to input multiple queries and compare them visually. You can even use Elasticsearch JSON in there!

**Q:** What happened to templated/scripted dashboards?
**Q:** What happened to templated/scripted dashboards?
**A:** Check out the URL. The state of each app is stored there, including any filters, queries or columns. This should be a lot easier than constructing scripted dashboards. The encoding of the URL is RISON.

2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2012–2016 Elasticsearch BV
Copyright 2012–2017 Elasticsearch BV

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Expand Down
6 changes: 0 additions & 6 deletions docs/console.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ When the response come back, you should see it in the left hand panel:
.The Output Pane
image::images/introduction_output.png[Screenshot]

Console allows you to easily switch between Elasticsearch instances. By default it will connect to `localhost:9200`
but you can easily change this by entering a different url in the Server input:

.The Server Input
image::images/introduction_server.png["Server",width=400,align="center"]

[float]
[[console-ui]]
== The Console UI
Expand Down
187 changes: 187 additions & 0 deletions docs/development/plugin/development-internationalization.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
[[translating-kibana]]
Translating Kibana
------------------

[[background]]
Background
~~~~~~~~~

Please see https://github.com/elastic/kibana/issues/6515[kibana#6515]
for background discussion on the Kibana translation work.

[[prerequisites]]
Prerequisites
~~~~~~~~~~~~

Kibana must be installed and operational, see README.md

[[audience]]
Audience
~~~~~~~

There are three audiences for this document:

* those that want to contribute language packs to Kibana
* those that want to enable translations in existing Kibana plugins
* those that want to create a new Kibana Plugin

[[contributing-language-packs]]
Contributing Language Packs
~~~~~~~~~~~~~~~~~~~~~~~~~~

For this example, we will demonstrate translation into Maltese (Language
code `mt`). Add-on functionality for Kibana is implemented with plug-in modules.
Refer to
https://www.elastic.co/guide/en/kibana/current/kibana-plugins.html[Kibana
Plugins] for more details.

* Fork the `kibana` source, and ensure you have an up to date copy of
the source.
* Ensure you have signed the agreement as in CONTRIBUTING.md
* Choose the right link:[bcp47] language code for your work. In this
example, we will use the `kibana` plugin for translating and `mt` for
Maltese. Other examples might be `zh-Hans` for Chinese using Simplified
characters, or `az-Cyrl` for Azerbaijani using Cyrillic characters. The
following links can help:
* https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes[List of ISO
639-1 codes]
*
http://cldr.unicode.org/index/cldr-spec/picking-the-right-language-code[“Picking
the right language code”]
* Create a new branch for your work:
+
git checkout -b translate-mt
* For each translation scope (see link:#Enabling%20Translations%20on%20Existing%20Plugins[Enabling Translations on Existing Plugins], below), generate a Kibana plugin with name _plugin_-_languagecode_ using the https://github.com/elastic/generator-kibana-plugin[Kibana Plugin Yeoman Generator]:
+
* Replace the the `es.json` translation file with _languagecode_`.json`:
`mv src/plugins/kibana-mt/translations/es.json src/plugins/kibana-mt/translations/mt.json`
* Translate the `mt.json` file in a JSON editor
* Edit index file (`kibana-mt/index.js`), updating the
'translations' item in 'uiExports' as per your plugin translation file(s)
* Copy translations plugin (`kibana-mt/`) to the Kibana plugins (`<kibana_root>/plugins`) directory
* Start up Kibana and verify the translation works as expected
* Ensure Kibana tests pass
* Commit the `kibana-mt` directory and files, and push them to your own
fork of `kibana`
* Open a pull request titled `Translation: Maltese (mt)`

[[enabling-ranslations-on-existing-plugins]]
Enabling Translations on Existing Plugins
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Kibana translates according to plugin scope, so there is a `.json` file
in `translations` subdirectory for each plugin.

[[enabling-translation-of-an-angular-view]]
Enabling Translation of an Angular view
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Determine which views share a plugin scope. In this example, `create`
and `edit` will share scope.
* If it does not already exist, Create the appropriate `translation`
directory and the new translation file `en.json` inside it. In the above
example, it would be: `src/core_plugins/kibana/translations/en.json`
* If it does not exist add 'translations' item to the 'uiExports' in the plugin creation (`src/core_plugins/kibana/translations/en.json`) as follows:
-------------------------------------------------------------------------
uiExports {
translations: [
resolve(__dirname, './translations/en.json')
], ….
}
-------------------------------------------------------------------------

* In the view (HTML) file, such as
`src/core_plugins/kibana/public/management/sections/indices/_create.html`
Replace English text with translation keys, and copy the English text
into the `en.json` file appropriately. Note that loose text was put into
a `<p></p>` tag for translation purposes. Also note the prefix `KIBANA-`
matching the plugin being translated.

[[before]]
Before
++++++

`_create.html`

-----------------------------------------------------------------------------------------------------
<h1>Configure an index pattern</h1>
In order to use Kibana you must configure at least one index pattern…

<kbn-info info="This field will be used to filter events with the global time filter"></kbn-info>
-----------------------------------------------------------------------------------------------------

[[after]]
After
+++++

`_create.html`

-------------------------------------------------------------------------------------------
<h1 translate="KIBANA-CONFIGURE_INDEX_PATTERN"</h1>
<p translate="KIBANA-MUST_CONFIGURE_INDEX_PATTERN"</p>

<kbn-info info="{{ 'KIBANA-FIELD_FILTER_EVENTS_GLOBAL_TIME' | translate }}"></kbn-info>
-------------------------------------------------------------------------------------------

* In the view (JS) file, such as
`src/core_plugins/kibana/public/management/sections/indices/_create.js`
As above, replace English text with translation keys, and copy the English text
into the `en.json` file appropriately. Note that some strings may not be user facing
and do not need to be replaced then. Also note the prefix `KIBANA-` matching the plugin
being translated.

[[before]]
Before
++++++

`_create.js`

--------------------------------------------------------------------------------------------------------------
notify.error('Could not locate any indices matching that pattern. Please add the index to Elasticsearch');
--------------------------------------------------------------------------------------------------------------

[[after]]
After
+++++

`_create.js`

-------------------------------------------------------------------------------------------
notify.error($translate.instant('KIBANA-NO_INDICES_MATCHING_PATTERN'));
-------------------------------------------------------------------------------------------

`en.json`

-----------------------------------------------------------------------------------------------------------------------------------------
{
"KIBANA-CONFIGURE_INDEX_PATTERN": "Configure an index pattern",
"KIBANA-MUST_CONFIGURE_INDEX_PATTERN": "In order to use Kibana you must…",
"KIBANA-FIELD_FILTER_EVENTS_GLOBAL_TIME" : "This field will be used to filter events with the global time filter",
"KIBANA-NO_INDICES_MATCHING_PATTERN": "Could not locate any indices matching that pattern. Please add the index to Elasticsearch",
}
-----------------------------------------------------------------------------------------------------------------------------------------

* Refresh the Kibana page and verify the UI looks the same.
* Refer to Kibana core plugin (`src/core_plugins/kibana/`) for examples.

[[new-plugin-authors]]
New Plugin Authors
~~~~~~~~~~~~~~~~~

Add-on functionality for Kibana is implemented with plug-in modules.
Refer to
https://www.elastic.co/guide/en/kibana/current/kibana-plugins.html[Kibana
Plugins] for more details. It is recommended that when creating a plugin
you enable translations (see link:#Enabling%20Translations%20on%20Existing%20Plugins[Enabling Translations on Existing Plugins], above).

[[enabling-translation-in-a-plugin]]
Enabling Translation in a New Plugin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Generate a Kibana plugin using the https://github.com/elastic/generator-kibana-plugin[Kibana Plugin Yeoman Generator]. In this
example, `plugin1`
* Add the translation IDs to the views
* Add the corresponding translation IDs and text to the default translation file (`translations/en.json`)
* Refer to link:#Enabling%20Translations%20on%20Existing%20Plugins[Enabling Translations on Existing Plugins] for more
details on enabling translation in your plugin views and refer to Kibana
core plugin (`src/core_plugins/kibana/`) for an example.
3 changes: 2 additions & 1 deletion docs/management/advanced-options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ Markdown.
`notifications:lifetime:error`:: Specifies the duration in milliseconds for error notification displays. The default value is 300000. Set this field to `Infinity` to disable error notifications.
`notifications:lifetime:warning`:: Specifies the duration in milliseconds for warning notification displays. The default value is 10000. Set this field to `Infinity` to disable warning notifications.
`notifications:lifetime:info`:: Specifies the duration in milliseconds for information notification displays. The default value is 5000. Set this field to `Infinity` to disable information notifications.

`timelion:showTutorial`:: Set this property to `true` to show the Timelion tutorial to users when they first open Timelion.
`timelion:es.timefield`:: Default field containing a timestamp when using the `.es()` query.
`timelion:es.default_index`:: Default index when using the `.es()` query.
Expand All @@ -89,3 +88,5 @@ Markdown.
`timelion:graphite.url`:: [experimental] Used with graphite queries, this it the URL of your host
`timelion:quandl.key`:: [experimental] Used with quandl queries, this is your API key from www.quandl.com
`state:storeInSessionStorage`:: [experimental] Kibana tracks UI state in the URL, which can lead to problems when there is a lot of information there and the URL gets very long. Enabling this will store parts of the state in your browser session instead, to keep the URL shorter.
`context:defaultSize`:: Specifies the initial number of surrounding entries to display in the context view. The default value is 5.
`context:step`:: Specifies the number to increment or decrement the context size by when using the buttons in the context view. The default value is 5.
12 changes: 11 additions & 1 deletion docs/migration/migrate_6_0.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,14 @@ your application to Kibana 6.0.
Kibana 6.0 will only support Painless and Lucene expression based scripts.


*Impact:* You will need to migrate your groovy, python, javascript, etc. scripted fields to Painless or Lucene expressions.
*Impact:* You will need to migrate your groovy, python, javascript, etc. scripted fields to Painless or Lucene expressions.

[float]
=== Changed response format of status API
*Details:* In an effort to align with our style guidelines and provide a digestible response,
the status API has changed:

* Properties are now snake cased and several have been renamed
* Metrics now provide the latest available data instead of samples over time

*Impact:* You will need to update anything using the status API and expecting the previous response format.
5 changes: 5 additions & 0 deletions docs/plugins/known-plugins.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This list of plugins is not guaranteed to work on your version of Kibana. Instea
=== Apps
* https://github.com/sivasamyk/logtrail[LogTrail] - View, analyze, search and tail log events in realtime with a developer/sysadmin friendly interface
* https://github.com/wtakase/kibana-own-home[Own Home] (wtakase) - enables multi-tenancy
* https://github.com/asileon/kibana_shard_allocation[Shard Allocation] (asileon) - visualize elasticsearch shard allocation

[float]
=== Timelion Extensions
Expand All @@ -35,6 +36,10 @@ This list of plugins is not guaranteed to work on your version of Kibana. Instea
* https://github.com/clamarque/Kibana_health_metric_vis[Health Metric] (clamarque)
* https://github.com/ommsolutions/kibana_ext_metrics_vis[Extended Metric] (ommsolutions)
* https://github.com/virusu/3D_kibana_charts_vis[3D Charts] (virusu)
* https://github.com/DeanF/health_metric_vis[Colored Metric Visualization] (deanf)
* https://github.com/elo7/cohort[Cohort analysis] (elo7)
* https://github.com/amannocci/kibana-plugin-metric-percent[Percent] (amannocci)
* https://github.com/outbrain/ob-kb-funnel[Funnel Visualization] (roybass)

[float]
=== Other
Expand Down
Loading