Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request adds dynamic table name resolution to the Kusto Fluentd output plugin, enabling logs to be routed to different Kusto tables based on Fluentd tag patterns using placeholders like ${tag}, ${tag_parts[N]}, ${tag_prefix[N]}, and ${tag_suffix[N]}.
Changes:
- Added
resolve_table_namemethod to dynamically resolve table names from templates with placeholder support - Updated ingestion methods (
process,write,try_write) to use resolved table names - Refactored internal variable from
@table_nameto@table_name_templateto distinguish between templates and resolved names
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 15 comments.
Show a summary per file
| File | Description |
|---|---|
lib/fluent/plugin/out_kusto.rb |
Core implementation of dynamic table name resolution with resolve_table_name method and integration into ingestion paths |
test/plugin/test_out_kusto_resolve_table_name.rb |
Comprehensive test suite covering placeholder resolution, edge cases, and integration with ingestion methods |
lib/fluent/plugin/kusto_version.rb |
Version bump to 1.1.0-beta |
README.md |
Documentation of dynamic table name feature with examples, supported placeholders, and release notes |
Gemfile.lock |
Updated gem version to 1.1.0.pre.beta |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ag-ramachandran
approved these changes
Feb 9, 2026
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.
This pull request introduces dynamic table name resolution to the Kusto Fluentd output plugin, allowing logs to be routed to different tables based on Fluentd tags using placeholders in the
table_nameparameter. The changes are backwards compatible and include comprehensive documentation and tests for the new feature.Dynamic Table Name Routing
table_nameparameter, enabling routing to different tables based on tag components (e.g.,${tag},${tag_parts[N]},${tag_prefix[N]},${tag_suffix[N]}). This logic is implemented in the newresolve_table_namemethod inout_kusto.rb.process,write,try_write) to use the dynamically resolved table name instead of a static value. [1] [2] [3] [4]Documentation and Release
README.mdto document dynamic table name resolution, including usage examples, supported placeholders, and migration notes.v1.1.0-beta, highlighting the new dynamic table routing feature. [1] [2]1.1.0-betainkusto_version.rb.Testing
test_out_kusto_resolve_table_name.rb) to validate table name resolution logic, edge cases, and integration with ingestion methods.Internal Refactoring
out_kusto.rbandcheck_data_on_serverto use the template for query construction. [1] [2]