Hi @PickleRick , the use case is like the following description... My input is like the following json: { "timestamp": "2025-06-01T09:26:00.000Z", "item":"I.1","version":"1.1.0-1"}
{ "timestamp": "2025-06-01T09:26:00.000Z", "item":"I.2","version":"1.1.0-1"}
{ "timestamp": "2025-06-01T09:26:00.000Z", "item":"I.3","version":"1.1.0-1"}
{ "timestamp": "2025-06-01T09:26:00.000Z", "item":"I.4","version":"1.1.0-1"}
{ "timestamp": "2025-08-01T09:26:00.000Z", "item":"I.1","version":"1.1.0-2"} There are 4 items at 06/01 and one item with an advanced version at 08/01. The query just counts the current version per day. source="..."
| eval day=strftime(_time, "%Y-%m-%d")
| chart count by day, version The actual result is: | day | 1.1.0-1 | 1.1.0-2 | | -----------------| --------- |----------| | 2025-06-01 | 4 | 0 | | 2025-08-01 | 0 | 1 | but what I expect is: | day | 1.1.0-1 | 1.1.0-2 | | ---------------- | --------- | ---------- | | 2025-06-01 | 4 | 0 | | 2025-07-01 | 4 | 0 | | 2025-08-01 | 3 | 1 | Another challenge is that I want to spread the result for about 60 days and there are over 100.000 items.
... View more