Hello, I have Task Logging enable via: ```druid.in...
# troubleshooting
j
Hello, I have Task Logging enable via:
Copy code
druid.indexer.logs.type=file
druid.indexer.logs.directory=/data/indexing-logs
druid.indexer.logs.kill.enabled=true
druid.indexer.logs.kill.durationToRetain=2592000000
However, I'm noticing that I only have 24 hours of task logs. Am I missing something?
Note that
/data/indexing-logs
is a mount point and I do see the log files up to one month old on the server. I just don't seem them via the Task API or in the Unified Console.
The configuration is set in
conf/druid/cluster/_common/common.runtime.properties
(and nowhere else).
I as able to get details of a specific task by using
GET {{baseUrl}}/druid/indexer/v1/task/{{taskId}}/
However, the tasks list only shows the last 24 hours.
Note that setting
createdTimeInterval
in the request doesn't appear to do anything at all, contrary to the documentation. The tasks are also invisible to the
sys.tasks
table in Unified Console. I'm at a loss...
Oh darn, I found this config property. I'll give it a try:
druid.indexer.storage.recentlyFinishedThreshold
Ref: https://druid.apache.org/docs/latest/configuration/#overlord-operations
j
looks like you found it 🙂 ... Just be conscious of the query performance of the Tasks tab if you increase this and have high task count in your system.
✅ 1