summaryrefslogtreecommitdiff
path: root/internal/mapr
AgeCommit message (Collapse)Author
2026-07-22feat: DTail fork — server/client feature developmentPaul Buetow
Squashed development of the snonux/dtail fork's product code (internal/, cmd/) since diverging from mimecast/dtail. Major areas: - Read/output path: the former "turbo" channel-less path is now the single, default server-side read/output path for cat/grep/tail and MapReduce; the old channel-based path and its config/env toggles were removed. - MapReduce: single aggregate implementation (server + serverless) fed directly by a processor pipeline, with input-exhausted finalization via the shutdown coordinator; high-concurrency and data-race fixes. - Journal source reads (journal:unit.service) via journalctl, Linux-gated behind a journal-v1 capability. - Auth-key fast reconnect: in-memory per-user public-key cache with TTL/max-keys, registered over an authenticated session (AUTHKEY), checked before authorized_keys. - Interactive query reload (--interactive-query) with SESSION START/UPDATE generation boundaries and capability negotiation. - Client-side deadlines: --timeout / --shutdownAfter as context deadlines; follow shutdown handling. - Client logging: diagnostics-only daily log by default, opt-in payload tee via --log-payload. - Numerous correctness fixes (buffer-pool double-recycle races, EOF-sentinel leaks, glob-expansion cap, TOCTOU in CSV parsing) with accompanying unit tests. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2024-03-29only rename .csv.tmp to .csv when the final result was writtenPaul Buetow
2024-03-29lint warningsPaul Buetow
2023-09-07refactor go build tagsPaul Buetow
2023-09-07add mapr aggregration on CSV integr testPaul Buetow
2023-09-07Can quote fields in select conditions, e.g. select `count($foo)`, ..Paul Buetow
2023-09-07add CSV to parserPaul Buetow
2023-09-07Add CSV unit testPaul Buetow
2023-09-07Add `custom1` and `custom2` log formats.Paul Buetow
2023-09-07Add mimecast parser stub. Open source version of DTail won't be with it.Paul Buetow
2023-09-07Refactor logformats so that they don't use reflection anymore.Paul Buetow
2023-09-07DTail: Restrict SSH MAC algorithms allowed - Update of few dependenciesPaul Buetow
2023-09-07Refactor - reduce code complexityPaul Buetow
2023-09-07document Outfile - tidy modsPaul Buetow
2022-03-14a 0666 to OpenFile will respect the user's default umaskPaul Buetow
2022-03-14add integration test for "outfile append.."Paul Buetow
2022-03-14"append" now actually will append to an outfile now. previously we only ↵Paul Buetow
added the syntax to the mapr query
2022-03-14Add "append" modifier for "outfile" keyword to the mapreduce languagePaul Buetow
2022-01-27Dont auto lowercase all mapreduce keysPaul Buetow
2021-12-23refactorPaul Buetow
2021-12-23refactor query parserPaul Buetow
2021-12-23Refactor code to reduce function sizePaul Buetow
2021-12-16documenting how to implement a custom log formatPaul Buetow
2021-12-14Refactor makeWhereConditionsPaul Buetow
2021-12-12add set condition integraion testPaul Buetow
2021-12-10remove trace loggingPaul Buetow
2021-12-10RefactorPaul Buetow
2021-12-10If rString is not a field name, use actual value for set condition.Paul Buetow
2021-12-10RefactorPaul Buetow
2021-12-10RefactorPaul Buetow
2021-12-09Documenting log formatsPaul Buetow
2021-12-09Refactor result methodPaul Buetow
2021-12-09Refactor WriteResult method.Paul Buetow
2021-12-08add missing dmap test filePaul Buetow
2021-12-08add where clause integration test to dmap1, all mapreduce token fields are ↵Paul Buetow
lower case
2021-12-08Reduce cognitive code complexityPaul Buetow
2021-12-05buffer line.Line for performancePaul Buetow
2021-10-29explicitly use dlog.Server for server packages and dlog.Clent for client ↵Paul Buetow
packages for logging
2021-10-24Fix DCat color test.Paul Buetow
2021-10-24Fix deadlock around aggregating data + server max concurrent file read limiterPaul Buetow
2021-10-10vetting and linting and some code restylingPaul Buetow
2021-10-10add dtail health check unit test.Paul Buetow
2021-10-09refactorPaul Buetow
2021-10-03when a mapreduce outfile is specified also always write a outfile.query filePaul Buetow
2021-10-02add more default fields to MAPREDUCEPaul Buetow
2021-10-02refactor config reader - also looks in additional search paths for config ↵Paul Buetow
file unless NONE is specified
2021-10-02move args to config packagePaul Buetow
logger package rewrite as dlog
2021-10-02bugfix: dmap skipped the last couple of mapreduce linesPaul Buetow
2021-10-02limit mapreduce table output to 10 rows by defaultPaul Buetow
2021-10-02mapreduce tables are in colors now tooPaul Buetow