summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Fix up QuotedString/CLFString parsingDan Goodliffe5 days
| | | | | | | | Refactors CLFString in terms of QuotedString, but with the optional of being null (nullopt) Moves the whole decode function into QuotedString's parser, fixing support for escaping of " which would otherwise prematurely end the string in the middle.
* Add parked line import jobwebstat-0.2Dan Goodliffe8 days
| | | | Periodically, on idle, scan for and import previously parked lines.
* Switch to PostgreSQL's oid type for entity idsDan Goodliffe2025-09-30
| | | | | oid is an "unsigned 4 byte integer", which matches our crc32 approach perfectly, and is half the storage cost of bigint.
* Write log lines to files on errorDan Goodliffe2025-09-30
| | | | | We call this parking, later we can reattempt ingestion after whatever caused the failure has been fixed.
* Create settings structureDan Goodliffe2025-09-24
| | | | | | | Holds all the settings and their defaults for use in program_options and tests. Disables missing-field-initializers in tests because its over sensitive to structures with defaults where you only provide some values specifically.
* Write unparsable lines to the entity tableDan Goodliffe2025-09-23
| | | | Diagnostics and the ability to ingest later.
* Create and perform UA lookup curl op when new user agent is encounteredDan Goodliffe2025-09-13
|
* Always pass API URL to curlGetUserAgentDetailDan Goodliffe2025-09-13
|
* Add test over mocked user agent fetchDan Goodliffe2025-09-09
| | | | Uses a file:// URL to curl fetch a local fixture.
* Add test over Ingestor::ingestLogDan Goodliffe2025-09-08
|
* Use a TestIngestor as a fixture in testsDan Goodliffe2025-09-08
|
* Move fixture log file generator to test utilDan Goodliffe2025-09-08
|
* Change getUserAgentDetail to return a packaged CURL objectDan Goodliffe2025-09-05
| | | | | This will be usable with curl_multi_* instead of being a single synchronous request.
* Add function to grab UA details from useragentstring.comDan Goodliffe2025-09-04
|
* Move DeleteWith helper in src/utilDan Goodliffe2025-09-04
|
* Store utsname details in the host's detail fieldDan Goodliffe2025-09-02
|
* Use a DB connection pool rather than a single connectionDan Goodliffe2025-09-01
|
* Add MockDBPoolDan Goodliffe2025-09-01
| | | | Feels like this should be provided by libdbpp, but it isn't.
* Add an ingestor performance testDan Goodliffe2025-08-25
| | | | Generates a random long file of random data and then ingests it.
* Move common test code to its own libraryDan Goodliffe2025-08-25
|
* Store log lines in full using entity idsDan Goodliffe2025-08-25
|
* Add DB schema and setup a mock of it in testingDan Goodliffe2025-08-25
|
* Pull fixture log lines into shared global varsDan Goodliffe2025-08-25
|
* Add helpers for hashing values extracted from log inputDan Goodliffe2025-08-25
| | | | | zlib's crc32 used here, the interface is a bit C and as a result a bit casty, but it'll work.
* Initial commit; basic Apache log parsingDan Goodliffe2025-08-25