Skip to content

[Obs AI] get_log_categories tool: Rename terms to kqlFilter for consistency#248477

Merged
sorenlouv merged 2 commits intoelastic:mainfrom
sorenlouv:get-log-categories-kql-filter
Jan 9, 2026
Merged

[Obs AI] get_log_categories tool: Rename terms to kqlFilter for consistency#248477
sorenlouv merged 2 commits intoelastic:mainfrom
sorenlouv:get-log-categories-kql-filter

Conversation

@sorenlouv
Copy link
Member

@sorenlouv sorenlouv commented Jan 9, 2026

Tools should use standardized terminology for the same operations. kqlFilter is now a common tool param across most of the o11y tools. This renames terms param to kqlFilter param.
This also introduces fields param that enables the LLM to specify which fields should be returned in the response.

@sorenlouv sorenlouv requested a review from a team as a code owner January 9, 2026 15:27
@sorenlouv sorenlouv added backport:version Backport to applied version labels v9.3.0 release_note:skip Skip the PR/issue when compiling release notes labels Jan 9, 2026
@elasticmachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps

@sorenlouv sorenlouv enabled auto-merge (squash) January 9, 2026 17:59
@sorenlouv sorenlouv merged commit 1ab14d0 into elastic:main Jan 9, 2026
14 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.3

https://github.com/elastic/kibana/actions/runs/20865121853

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jan 9, 2026
… consistency (elastic#248477)

Tools should use standardized terminology for the same operations.
`kqlFilter` is now a common tool param across most of the o11y tools.
This renames `terms` param to `kqlFilter` param.
This also introduces `fields` param that enables the LLM to specify
which fields should be returned in the response.

(cherry picked from commit 1ab14d0)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
9.3

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@sorenlouv sorenlouv deleted the get-log-categories-kql-filter branch January 9, 2026 21:56
kibanamachine added a commit that referenced this pull request Jan 9, 2026
…r` for consistency (#248477) (#248538)

# Backport

This will backport the following commits from `main` to `9.3`:
- [[Obs AI] `get_log_categories` tool: Rename `terms` to `kqlFilter` for
consistency (#248477)](#248477)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Søren
Louv-Jansen","email":"soren.louv@elastic.co"},"sourceCommit":{"committedDate":"2026-01-09T20:48:07Z","message":"[Obs
AI] `get_log_categories` tool: Rename `terms` to `kqlFilter` for
consistency (#248477)\n\nTools should use standardized terminology for
the same operations.\n`kqlFilter` is now a common tool param across most
of the o11y tools.\nThis renames `terms` param to `kqlFilter`
param.\nThis also introduces `fields` param that enables the LLM to
specify\nwhich fields should be returned in the
response.","sha":"1ab14d0168d59f22e96499966a3640e48b3cdcab","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.3.0","v9.4.0"],"title":"[Obs
AI] `get_log_categories` tool: Rename `terms` to `kqlFilter` for
consistency","number":248477,"url":"https://github.com/elastic/kibana/pull/248477","mergeCommit":{"message":"[Obs
AI] `get_log_categories` tool: Rename `terms` to `kqlFilter` for
consistency (#248477)\n\nTools should use standardized terminology for
the same operations.\n`kqlFilter` is now a common tool param across most
of the o11y tools.\nThis renames `terms` param to `kqlFilter`
param.\nThis also introduces `fields` param that enables the LLM to
specify\nwhich fields should be returned in the
response.","sha":"1ab14d0168d59f22e96499966a3640e48b3cdcab"}},"sourceBranch":"main","suggestedTargetBranches":["9.3"],"targetPullRequestStates":[{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/248477","number":248477,"mergeCommit":{"message":"[Obs
AI] `get_log_categories` tool: Rename `terms` to `kqlFilter` for
consistency (#248477)\n\nTools should use standardized terminology for
the same operations.\n`kqlFilter` is now a common tool param across most
of the o11y tools.\nThis renames `terms` param to `kqlFilter`
param.\nThis also introduces `fields` param that enables the LLM to
specify\nwhich fields should be returned in the
response.","sha":"1ab14d0168d59f22e96499966a3640e48b3cdcab"}}]}]
BACKPORT-->

Co-authored-by: Søren Louv-Jansen <soren.louv@elastic.co>
devamanv pushed a commit to devamanv/kibana that referenced this pull request Jan 12, 2026
… consistency (elastic#248477)

Tools should use standardized terminology for the same operations.
`kqlFilter` is now a common tool param across most of the o11y tools.
This renames `terms` param to `kqlFilter` param.
This also introduces `fields` param that enables the LLM to specify
which fields should be returned in the response.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes v9.3.0 v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants