Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: detect and extract json from log-lines #1248

Merged
merged 27 commits into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
6e77c04
feat: detect and extract json from log-lines
de-sh Mar 18, 2025
6d8afa5
fix: copy `/resources`
de-sh Mar 18, 2025
d234c1c
refactor: flatten code
de-sh Mar 18, 2025
f8247b9
doc+test: improve readability and testing
de-sh Mar 18, 2025
231cc0d
refactor: `check_or_extract`
de-sh Mar 18, 2025
bf0ecc2
fix: accept from custom sources
de-sh Mar 19, 2025
bb37551
style: error message
de-sh Mar 19, 2025
159dd5d
fix: consider single capture groups
de-sh Mar 19, 2025
186a586
fix: patterns are distinct
de-sh Mar 19, 2025
a37d368
feat: update log source entry
de-sh Mar 19, 2025
199c4d4
fix: allow empty
de-sh Mar 19, 2025
090e491
ci: deepsource
de-sh Mar 19, 2025
98fe200
refactor: clippy suggestions
de-sh Mar 19, 2025
0db29f1
fix: don't accept unknown log format
de-sh Mar 19, 2025
7ff8ed2
test: fix expectation
de-sh Mar 19, 2025
637f33c
fix: untag custom log sources
de-sh Mar 21, 2025
4b6209b
Merge remote-tracking branch 'origin/main' into schema-detect
de-sh Mar 21, 2025
f756639
ensure lowercase
de-sh Mar 21, 2025
85e13cc
Merge remote-tracking branch 'origin/main' into schema-detect
de-sh Mar 21, 2025
547c09e
test: fix `test_v5_v6_unknown_log_source`
de-sh Mar 21, 2025
2364b39
feat: add more known formats
de-sh Mar 21, 2025
fd65c35
update regex for syslog, add to ignore header
nikhilsinhaparseable Mar 22, 2025
652b593
Merge branch 'main' into schema-detect
nikhilsinhaparseable Mar 25, 2025
2d67c26
Update formats.json
nikhilsinhaparseable Mar 25, 2025
73d9938
Update formats.json
nikhilsinhaparseable Mar 25, 2025
382897d
update error message
nikhilsinhaparseable Mar 25, 2025
571c528
Merge branch 'main' into schema-detect
nikhilsinhaparseable Mar 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ RUN mkdir src && echo "fn main() {}" > src/main.rs && cargo build --release && r

# Build the actual binary
COPY src ./src
COPY resources ./resources
RUN cargo build --release

# final stage
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.debug
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ RUN mkdir src && echo "fn main() {}" > src/main.rs && cargo build && rm -rf src

# Build the actual binary
COPY src ./src
COPY resources ./resources
RUN cargo build

# final stage
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.kafka
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ RUN mkdir src && echo "fn main() {}" > src/main.rs && \

# Copy the actual source code
COPY src ./src
COPY resources ./resources

# Build the actual binary with kafka feature
RUN cargo build --release --features kafka
Expand Down
554 changes: 554 additions & 0 deletions resources/formats.json

Large diffs are not rendered by default.

Loading
Loading