From 42403d9623e4b1ec658008d65c24ffe6a7548a68 Mon Sep 17 00:00:00 2001 From: jean-baptiste-perez-bib Date: Thu, 5 Dec 2024 15:51:30 +0100 Subject: [PATCH] WIP Allow showing processing timeline events For now, there is no setting to switch with previous behaviour. --- timesketch/api/v1/resources/aggregation.py | 2 +- timesketch/frontend-ng/src/components/Explore/TimelineChip.vue | 3 +-- timesketch/lib/utils.py | 2 +- timesketch/models/sketch.py | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/timesketch/api/v1/resources/aggregation.py b/timesketch/api/v1/resources/aggregation.py index 1b25827e34..de3d13064a 100644 --- a/timesketch/api/v1/resources/aggregation.py +++ b/timesketch/api/v1/resources/aggregation.py @@ -468,7 +468,7 @@ def post(self, sketch_id): sketch_indices = { t.searchindex.index_name for t in sketch.timelines - if t.get_status.status.lower() == "ready" + if t.get_status.status.lower() in ["ready", "processing"] } aggregation_dsl = form.aggregation_dsl.data diff --git a/timesketch/frontend-ng/src/components/Explore/TimelineChip.vue b/timesketch/frontend-ng/src/components/Explore/TimelineChip.vue index aeafed1ce7..b84cd9c25f 100644 --- a/timesketch/frontend-ng/src/components/Explore/TimelineChip.vue +++ b/timesketch/frontend-ng/src/components/Explore/TimelineChip.vue @@ -50,7 +50,7 @@ limitations under the License.