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

Add Highlight formatter/transformer for strings #6537

Closed
maximgue opened this issue Mar 15, 2016 · 3 comments
Closed

Add Highlight formatter/transformer for strings #6537

maximgue opened this issue Mar 15, 2016 · 3 comments

Comments

@maximgue
Copy link

It would be very nice to have a string formatter/transformer to highlight specific words/patterns with specific colors in search results.

The typical use case would be to be able to highlight words like "Failed", "Exception", "Error" in red, "Warning" in orange, etc. That might greatly help with log analysis.

The configuration could be similar to that of the Number Color formatter, with ranges replaced by patterns (wildcards or regexps). Maybe something like that:

idea kibana

(I have tried to follow the tutorial at https://www.elastic.co/blog/kibana-custom-field-formatters, but to no avail - does not work for me. Maybe it does not apply to Kibana 4.4.x anymore.)

@thomasneirynck
Copy link
Contributor

This would also benefit from #6417

@thomasneirynck
Copy link
Contributor

@marcelhallmann
Copy link
Contributor

Well, I think I found a solution for that issue.
I'm going to create a pull request.

marcelhallmann added a commit to marcelhallmann/kibana that referenced this issue Sep 29, 2016
marcelhallmann pushed a commit to marcelhallmann/kibana that referenced this issue Oct 5, 2016
marcelhallmann pushed a commit to marcelhallmann/kibana that referenced this issue Oct 8, 2016
marcelhallmann pushed a commit to marcelhallmann/kibana that referenced this issue Oct 8, 2016
marcelhallmann pushed a commit to marcelhallmann/kibana that referenced this issue Oct 8, 2016
marcelhallmann pushed a commit to marcelhallmann/kibana that referenced this issue Oct 8, 2016
marcelhallmann pushed a commit to marcelhallmann/kibana that referenced this issue Oct 8, 2016
spalger pushed a commit that referenced this issue Oct 28, 2016
* #6537 add color formatting for string fields

* #6537 adjust test

* #6537 adjust check

* #6537 add simple check to enable coloring in viz (data table), too

* #6537 call the field formatter instead of the toString() function

* #6537 add some tests for coloring string fields

* #6537 better default value for regex field

* [stringify] track field type in params
elastic-jasper added a commit that referenced this issue Oct 28, 2016
---------

**Commit 1:**
#6537 add color formatting for string fields

* Original sha: ca87c48
* Authored by Marcel Hallmann <marcel.hallmann@six-group.com> on 2016-09-29T12:53:19Z

**Commit 2:**
#6537 adjust test

* Original sha: 23e2ce1
* Authored by marcelhallmann <marcelhallmann@gmx.ch> on 2016-10-05T08:21:24Z

**Commit 3:**
Merge remote-tracking branch 'upstream/master'

* Original sha: bdf66fb
* Authored by Marcel Hallmann <marcel.hallmann@six-group.com> on 2016-10-07T11:19:00Z

**Commit 4:**
#6537 adjust check

* Original sha: a4bf798
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T17:58:51Z

**Commit 5:**
#6537 add simple check to enable coloring in viz (data table), too

* Original sha: e67f6eb
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T18:01:12Z

**Commit 6:**
#6537 call the field formatter instead of the toString() function

* Original sha: 7dc7fd5
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T18:47:39Z

**Commit 7:**
#6537 add some tests for coloring string fields

* Original sha: 9733fe5
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T18:48:46Z

**Commit 8:**
#6537 better default value for regex field

* Original sha: fed9df2
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T19:13:40Z

**Commit 9:**
Merge branch 'master' of github.com:elastic/kibana into pr/8597

* Original sha: b583db7
* Authored by spalger <email@spalger.com> on 2016-10-27T19:31:25Z

**Commit 10:**
[stringify] track field type in params

* Original sha: c84a61b
* Authored by spalger <email@spalger.com> on 2016-10-27T21:04:19Z
spalger pushed a commit that referenced this issue Oct 28, 2016
---------

**Commit 1:**
#6537 add color formatting for string fields

* Original sha: ca87c48
* Authored by Marcel Hallmann <marcel.hallmann@six-group.com> on 2016-09-29T12:53:19Z

**Commit 2:**
#6537 adjust test

* Original sha: 23e2ce1
* Authored by marcelhallmann <marcelhallmann@gmx.ch> on 2016-10-05T08:21:24Z

**Commit 3:**
Merge remote-tracking branch 'upstream/master'

* Original sha: bdf66fb
* Authored by Marcel Hallmann <marcel.hallmann@six-group.com> on 2016-10-07T11:19:00Z

**Commit 4:**
#6537 adjust check

* Original sha: a4bf798
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T17:58:51Z

**Commit 5:**
#6537 add simple check to enable coloring in viz (data table), too

* Original sha: e67f6eb
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T18:01:12Z

**Commit 6:**
#6537 call the field formatter instead of the toString() function

* Original sha: 7dc7fd5
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T18:47:39Z

**Commit 7:**
#6537 add some tests for coloring string fields

* Original sha: 9733fe5
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T18:48:46Z

**Commit 8:**
#6537 better default value for regex field

* Original sha: fed9df2
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T19:13:40Z

**Commit 9:**
Merge branch 'master' of github.com:elastic/kibana into pr/8597

* Original sha: b583db7
* Authored by spalger <email@spalger.com> on 2016-10-27T19:31:25Z

**Commit 10:**
[stringify] track field type in params

* Original sha: c84a61b
* Authored by spalger <email@spalger.com> on 2016-10-27T21:04:19Z
nreese pushed a commit to nreese/kibana that referenced this issue Nov 10, 2016
* elastic#6537 add color formatting for string fields

* elastic#6537 adjust test

* elastic#6537 adjust check

* elastic#6537 add simple check to enable coloring in viz (data table), too

* elastic#6537 call the field formatter instead of the toString() function

* elastic#6537 add some tests for coloring string fields

* elastic#6537 better default value for regex field

* [stringify] track field type in params
@tbragin tbragin added the v5.1.1 label Dec 8, 2016
airow pushed a commit to airow/kibana that referenced this issue Feb 16, 2017
---------

**Commit 1:**
elastic#6537 add color formatting for string fields

* Original sha: ca87c48
* Authored by Marcel Hallmann <marcel.hallmann@six-group.com> on 2016-09-29T12:53:19Z

**Commit 2:**
elastic#6537 adjust test

* Original sha: 23e2ce1
* Authored by marcelhallmann <marcelhallmann@gmx.ch> on 2016-10-05T08:21:24Z

**Commit 3:**
Merge remote-tracking branch 'upstream/master'

* Original sha: bdf66fb
* Authored by Marcel Hallmann <marcel.hallmann@six-group.com> on 2016-10-07T11:19:00Z

**Commit 4:**
elastic#6537 adjust check

* Original sha: a4bf798
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T17:58:51Z

**Commit 5:**
elastic#6537 add simple check to enable coloring in viz (data table), too

* Original sha: e67f6eb
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T18:01:12Z

**Commit 6:**
elastic#6537 call the field formatter instead of the toString() function

* Original sha: 7dc7fd5
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T18:47:39Z

**Commit 7:**
elastic#6537 add some tests for coloring string fields

* Original sha: 9733fe5
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T18:48:46Z

**Commit 8:**
elastic#6537 better default value for regex field

* Original sha: fed9df2
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T19:13:40Z

**Commit 9:**
Merge branch 'master' of github.com:elastic/kibana into pr/8597

* Original sha: b583db7
* Authored by spalger <email@spalger.com> on 2016-10-27T19:31:25Z

**Commit 10:**
[stringify] track field type in params

* Original sha: c84a61b
* Authored by spalger <email@spalger.com> on 2016-10-27T21:04:19Z

Former-commit-id: f2e3528
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants