quickwit-oss / quickwit-oss/quickwit

Investigate: File as a source

Open
#1,159 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
11.7k
Forks
597
Avg merge
2d 22h
Merged PRs (30d)
37

Description

We already have a file source but right now it is only good as a way to index a bunch of static files.

It would be great however to have a source that handles log rotation.

For instance, if a system does log rotation in a way that keeps files in order,
we could use whatever we want as a partition id and use
lastindexed_filename @ offset in file as a position.

Provided this is reasonable we would like to handle compressed files too.

This ticket requires first investigating a bunch of system doing log rotation, seeing if there is a common denominator
that might be used to flesh out of a possible specification and its configuration.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing file source and investigating how different systems perform ordered log rotation. Determine whether a common behavior can support partitioning and a position based on the last indexed filename and offset, including compressed files. Done means a proposed specification and configuration approach grounded in the investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.