[GH-ISSUE #59] Format for multiple entries in ui highlighting preset json #38

Closed
opened 2026-03-03 16:03:54 +03:00 by kerem · 1 comment
Owner

Originally created by @KronK0321 on GitHub (Jan 25, 2016).
Original GitHub issue: https://github.com/mthenw/frontail/issues/59

I'm looking to be able to have multiple highlight options in a single log stream.
I've tried writing my default.json in several formats but can only get, at most, one highlight working at a time.

An example of what I've tried

{
    "words": {
        "HIT": "color: green;"
        "MISS": "color: red;"
    }
}

I suspect I'm missing something simple. Can you point me in the right direction?

Thanks!

Originally created by @KronK0321 on GitHub (Jan 25, 2016). Original GitHub issue: https://github.com/mthenw/frontail/issues/59 I'm looking to be able to have multiple highlight options in a single log stream. I've tried writing my default.json in several formats but can only get, at most, one highlight working at a time. An example of what I've tried ``` { "words": { "HIT": "color: green;" "MISS": "color: red;" } } ``` I suspect I'm missing something simple. Can you point me in the right direction? Thanks!
kerem closed this issue 2026-03-03 16:03:54 +03:00
Author
Owner

@KronK0321 commented on GitHub (Jan 25, 2016):

Was missing the comma between clauses. My bad.

{
    "words": {
        "HIT": "color: green;",
        "MISS": "color: red;"
    }
}
<!-- gh-comment-id:174398258 --> @KronK0321 commented on GitHub (Jan 25, 2016): Was missing the comma between clauses. My bad. ``` { "words": { "HIT": "color: green;", "MISS": "color: red;" } } ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#38
No description provided.