You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-22Lines changed: 25 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ The QuickValuesPlus Widget is an enhanced fork of the GrayLog2 Quick Values Widg
7
7
8
8
When the QuickValuesPlus Widget is added to a stream as a field analyzer it adds a "Remove from search" button. The button will negate the field in the search bar (E.g. !field_name:foo).
9
9
10
-

10
+

11
11
12
12
In addition, the QuickValuesPlus Widget has extra features when added to dashboards, such as:
13
13
* Support for **ascending** OR **descending** sort order in the datatable. Can now obtain true bottom values.
@@ -16,15 +16,25 @@ In addition, the QuickValuesPlus Widget has extra features when added to dashboa
16
16
17
17

18
18
19
-
**Required Graylog versions:**
20
-
* Version 1.0.0 was tested and is compatible with Graylog version 2.1.3
21
-
* Version 2.0.0 was tested and is compatible with Graylog versions 2.2.1, 2.2.2, and 2.2.3
22
-
23
-
Please file a bug report providing as much detail as possible if you find that the plugin is not working.
19
+
In version 2.1.0, a Customization menu was introduced to help control the sort order, number of top values and the table size of the plugin when used in Search.
20
+
21
+

24
22
25
-
Way Ahead (Next Version)
23
+
Options Menu Caveat
26
24
-----------
27
-
* Add customize menu to widget when attached to a stream which allows ability to toggle sort order, top values and table size.
25
+
26
+
Right now, Graylog's REST API does not support a sort option for the RelativeSearch lookup on /terms. I plan on doing a Pull Request for this in the future.
27
+
28
+
With that means is that at this time we cannot obtain a "TRUE" ascending order query. The ascending order observed is actually based on a descending ordered query.
29
+
30
+
If you want a true ascending query, simply add the visualization as a dashboard. The widget code does obtain the *TRUE* ascending order query.
31
+
32
+
Required Graylog Versions
33
+
-----------
34
+
* Version 1.0.0 was tested and is compatible with Graylog version 2.1.3.
35
+
* Version 2.1.0 was tested and is compatible with Graylog versions 2.2.1, 2.2.2, and 2.2.3
36
+
37
+
Please file a bug report providing as much detail as possible if you find that the plugin is not working.
28
38
29
39
Installation
30
40
------------
@@ -35,6 +45,12 @@ and can be configured in your `graylog.conf` file.
35
45
36
46
Restart `graylog-server` and you are done.
37
47
48
+
Way Ahead - Next Version(s)
49
+
-----------
50
+
* Add support to modify the field of the widget.
51
+
* Add code to make the Dropdown menu go away after a selection.
52
+
* Add a System Configuration menu to allow users to change the global defaults for sort order, top values, and table size.
53
+
38
54
Development
39
55
-----------
40
56
You can improve your development experience for the web interface part of your plugin
@@ -95,17 +111,4 @@ This project is using Maven 3 and requires Java 8 or higher.
95
111
* Run `mvn package` to build a JAR file.
96
112
* Optional: Run `mvn jdeb:jdeb` and `mvn rpm:rpm` to create a DEB and RPM package respectively.
97
113
* Copy generated JAR file in target directory to your Graylog plugin directory.
98
-
* Restart the Graylog.
99
-
100
-
Plugin Release
101
-
--------------
102
-
103
-
We are using the maven release plugin:
104
-
105
-
```
106
-
$ mvn release:prepare
107
-
[...]
108
-
$ mvn release:perform
109
-
```
110
-
111
-
This sets the version numbers, creates a tag and pushes to GitHub. Travis CI will build the release artifacts and upload to GitHub automatically.
0 commit comments