Troubleshooting
Common issues and solutions for running Flicker.
Common Issues
Logs not appearing in destination
- Check Process: Ensure Flicker is running (
ps aux | grep flickerorsystemctl status flicker). Look for startup messages indicating successful config loading. - Check Paths: Ensure configured file paths exist and are readable by the user running Flicker.
- Check Network: Can Flicker reach the destination endpoint? (Try
curl -v <endpoint>). - Check Destination: Is the destination server receiving requests? Check its access logs.
- Check Retry Queue: Look for
[Retry]messages in Flicker's stdout/stderr. This indicates failed batches are being queued.
High memory usage
- Reduce Buffer Size: Lower
buffer_sizein your config. - Reduce Files: If tailing hundreds of files, consider splitting across multiple Flicker instances (though it scales well).
- Check Line Length: Buffers are line-based. Extremely long lines (megabytes) will consume more memory.
- Check Retries: Reduce
retry.max_queue_sizeif destination is down and queues are filling up.
Batches being dropped
- Network Issues: Check connectivity.
- Timeouts: Increase
retry.max_retriesorretry.max_delay_msif outages are longer than the default backoff allows. - Error Messages: Check Flicker logs for specific HTTP or TCP errors.
Missed log entries after restart
- Default Behavior: Without registry tracking, Flicker starts at the end of files to avoid re-shipping old logs.
- Solution: Enable Registry Tracking to persist positions.
File rotation not detected
- Platform: Inode tracking works on Unix/Linux. On Windows, rotation detection is limited.
- Permissions: Ensure Flicker has permission to read the directory to detect new files/inodes.
