Fix dynamic keyword time-ranges for dashboard widgets created from content packs #1308
Conversation
2 commits
Jul 17, 2015
added Keyword time-ranges are static by default but should be dynamic for dashboard widgets created from content packs. Refs #956 Fixes graylog-labs/graylog2-web-interface#1533
The static behaviour has been removed completely to prevent accidental usage. Refs #956
@@ -99,8 +84,6 @@ public DateTime getTo() { | |||
public String toString() { | |||
return MoreObjects.toStringHelper(this) | |||
.add("keyword", getKeyword()) | |||
.add("from", getFrom()) | |||
.add("to", getTo()) |
kroepke
Jul 17, 2015
Member
Don't these make sense in debug output?
Don't these make sense in debug output?
joschi
Jul 17, 2015
Author
Contributor
Yeah, I'll add them back.
Yeah, I'll add them back.
Apart from the minor question above, lgtm. |
joschi
added a commit
that referenced
this pull request
Jul 17, 2015
Fix dynamic keyword time-ranges for dashboard widgets created from content packs
joschi
added a commit
that referenced
this pull request
Jul 17, 2015
Fix dynamic keyword time-ranges for dashboard widgets created from content packs (cherry picked from commit d8ea2e6)
This was referenced Apr 15, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Keyword time-ranges are static by default but should be dynamic for dashboard widgets created from content packs.
This PR additionally makes
KeywordRange
dynamically evaluate the keyword by default and removes the static behaviour completely to prevent accidental usage.Fixes graylog-labs/graylog2-web-interface#1533