Skip to content

Commit a9b32c6

Browse files
Merge branch 'develop' into 'master'
Improve documentation and add badges Closes #14 See merge request front-end/elastalert-kibana-plugin!3
2 parents bc2b7dc + 41833c2 commit a9b32c6

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22

33
> This plugin provides a way to create, test and edit ElastAlert rules within Kibana.
44
5-
![Showcase](showcase.gif)
5+
![GitHub release](https://img.shields.io/github/release/bitsensor/elastalert-kibana-plugin.svg)
6+
![Github Releases](https://img.shields.io/github/downloads/bitsensor/elastalert-kibana-plugin/total.svg)
7+
![GitHub stars](https://img.shields.io/github/stars/bitsensor/elastalert-kibana-plugin.svg?style=social&label=Stars)
68

79
---
810

11+
## Demo
12+
![Showcase](showcase.gif)
13+
914
## Requirements
1015
- Our [ElastAlert](https://github.com/bitsensor/elastalert) fork
1116
- Kibana 6.3.1 or higher

public/components/rules/editor/editor.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
EuiFieldText,
1414
EuiSpacer
1515
} from '@elastic/eui';
16+
import 'brace/mode/yaml';
1617
import 'brace/theme/github';
1718
import 'brace/ext/language_tools';
1819
import { addToast } from '../../toast/toast';
@@ -139,6 +140,7 @@ export default class Editor extends Component {
139140
/>
140141
</EuiFormRow>
141142
<EuiCodeEditor
143+
mode="yaml"
142144
theme="github"
143145
width="100%"
144146
height="400px"

0 commit comments

Comments
 (0)