I had a dashboard with multiple dropdowns (index, process_id, machine, location, department) and a time picker. The process_id and machine inputs used dynamic earliest/latest tokens, while the others had static time ranges. When restoring tokens via the “Apply Previous Filter” (APF) feature, all inputs were applied simultaneously. Because of that, machine and process_id were repopulated before index and time were ready — causing them to reset to default. To fix this, I added a sequential delay logic in JavaScript so filters apply in the correct order: 1. Index and Time range are restored first. 2. After ~800 ms, location and department are applied. 3. After ~1600 ms total, Process_id and machine are restored. Now, all filters load correctly in sequence. (No workaround was found from the Splunk XML side)
... View more