From 440b4cb9c2ff3d7627950e96f88cb405c6fc9c22 Mon Sep 17 00:00:00 2001 From: chan-ryan <77747960+chan-ryan@users.noreply.github.com> Date: Tue, 9 Sep 2025 16:02:35 -0700 Subject: [PATCH 1/2] fix typo in search_result.go --- receiver/splunkenterprisereceiver/search_result.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receiver/splunkenterprisereceiver/search_result.go b/receiver/splunkenterprisereceiver/search_result.go index 53c44db11cb27..c16f4091a77dc 100644 --- a/receiver/splunkenterprisereceiver/search_result.go +++ b/receiver/splunkenterprisereceiver/search_result.go @@ -181,7 +181,7 @@ type dispatchArtifactContent struct { AdhocSize string `json:"adhoc_size_mb"` ScheduledSize string `json:"scheduled_size_mb"` CompletedSize string `json:"completed_size_mb"` - IncompleteSize string `json:"incomplete_size_mb"` + IncompleteSize string `json:"incomple_size_mb"` } // '/services/server/health/splunkd/details' From 963bc8264da970f66e6b14f8fb37746afb128b22 Mon Sep 17 00:00:00 2001 From: chan-ryan <77747960+chan-ryan@users.noreply.github.com> Date: Tue, 9 Sep 2025 16:03:54 -0700 Subject: [PATCH 2/2] Create splunk-searchartifact-fix-typo.yaml --- .chloggen/splunk-searchartifact-fix-typo.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .chloggen/splunk-searchartifact-fix-typo.yaml diff --git a/.chloggen/splunk-searchartifact-fix-typo.yaml b/.chloggen/splunk-searchartifact-fix-typo.yaml new file mode 100644 index 0000000000000..725c07d84427b --- /dev/null +++ b/.chloggen/splunk-searchartifact-fix-typo.yaml @@ -0,0 +1,27 @@ +# Use this changelog template to create an entry for release notes. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: bug_fix + +# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) +component: splunkenterprisereceiver + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Fix a typo from a previous PR implementing the search artifact size metrics, which has caused errors from parsing empty strings. + +# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. +issues: [42615] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: + +# If your change doesn't affect end users or the exported elements of any package, +# you should instead start your pull request title with [chore] or use the "Skip Changelog" label. +# Optional: The change log or logs in which this entry should be included. +# e.g. '[user]' or '[user, api]' +# Include 'user' if the change is relevant to end users. +# Include 'api' if there is a change to a library API. +# Default: '[user]' +change_logs: [user]