feat: Add UDM Search integration to logstory (Issue #27) - #56
Open
dandye wants to merge 1 commit into
Open
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
dandye
force-pushed
the
kenn-forge/issue-27-add-udm-search-to-csv-to-log-feature
branch
2 times, most recently
from
August 18, 2026 02:41
ace9186 to
1d6f8f5
Compare
Implements Option 1 from issue #27: extend logstory's ingestion pipeline to accept UDM search results directly from Chronicle, apply timestamp shifting, and replay them. Changes: - New _search_udm() function to query Chronicle UDM Search API - Extended _get_log_content() to support UDM queries as a data source - Updated usecase_replay_logtype() to pass UDM parameters through - New CLI command: replay from-udm-search <QUERY> - Added UDM_EVENTS log type configuration with timestamp patterns - Comprehensive unit tests for UDM search functionality Usage: logstory replay from-udm-search "metadata.event_type='PROCESS_EXECUTION'" \ --customer-id=<ID> --credentials-path=<PATH> --timestamp-delta=1d Features: - Direct UDM search without needing pre-existing .log files - Reuses existing timestamp replacement and ingestion pipeline - Fully backward compatible with file-based replay - Ingestion labels identify replayed events from UDM search Fixes: #27
dandye
force-pushed
the
kenn-forge/issue-27-add-udm-search-to-csv-to-log-feature
branch
from
August 18, 2026 02:41
1d6f8f5 to
81bbb6a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implements Option 1 from issue #27: extend logstory's ingestion pipeline to accept UDM search results directly from Chronicle, apply timestamp shifting, and replay them.
Changes
_search_udm()function to query Chronicle UDM Search API_get_log_content()to support UDM queries as a data sourceusecase_replay_logtype()to pass UDM parameters throughreplay from-udm-search <QUERY>Usage Example
logstory replay from-udm-search "metadata.event_type='PROCESS_EXECUTION'" \ --customer-id=YOUR_ID \ --credentials-path=/path/to/credentials.json \ --timestamp-delta=1dBenefits
Documentation
UDM_SEARCH_IMPLEMENTATION.md- Technical deep-diveUDM_SEARCH_QUICKSTART.md- User guide with examplesFixes: #27