[Cisco Asa] Adds two new grok patterns to the 737026 message parser to handle cases where the pool name is absent (message ends with 'from local pool' without a name).#19116
Conversation
…o handle cases where the pool name is absent (message ends with 'from local pool' without a name).
|
Pinging @elastic/integration-experience (Team:Integration-Experience) |
🚀 Benchmarks reportPackage
|
| Data stream | Previous EPS | New EPS | Diff (%) | Result |
|---|---|---|---|---|
log |
1170.96 | 836.82 | -334.14 (-28.54%) | 💔 |
To see the full report comment with /test benchmark fullreport
TL;DRBuildkite failed before tests ran because the PR branch does not merge cleanly with Remediation
Investigation detailsRoot CauseThis is a configuration/integration-branch state failure (not a test/runtime failure): the Buildkite checkout hook attempts to create a PR merge branch and fails on a content conflict.
Because both edits target the same top changelog block/version, Buildkite cannot auto-merge the PR branch during the pipeline upload phase. Evidence
Verification
Follow-up
Note 🔒 Integrity filter blocked 2 itemsThe following items were blocked because they don't meet the GitHub integrity level.
To allow these resources, lower tools:
github:
min-integrity: approved # merged | approved | unapproved | noneWhat is this? | From workflow: PR Buildkite Detective Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. |
💚 Build Succeeded
History
|
|
Package cisco_asa - 2.45.5 containing this change is available at https://epr.elastic.co/package/cisco_asa/2.45.5/ |
…o handle cases where the pool name is absent. (elastic#19116)
Suggested label: Enhancement (pick the matching GitHub label)
Proposed commit message
Squash subject line (from Sentinel / primary PR):
Executive summary
Adds two new grok patterns to the 737026 message parser to handle cases where the pool name is absent (message ends with 'from local pool' without a name). Previously, only patterns requiring a pool name were present, causing parse failures when Cisco ASA emits messages without a pool name. Two corresponding test log lines and expected JSON outputs were added to validate the fix.
Root cause
The parse_737026 grok processor's two patterns both require a non-space pool_name token after 'from local pool', but Cisco ASA can emit 737026 messages that end at 'from local pool' with no pool name, leaving the patterns unable to match and causing a pipeline error.
Approach
Add two additional grok patterns to the parse_737026 processor to handle 737026 messages that terminate after 'from local pool' without providing a pool name. The new patterns mirror the existing ones (with and without Session= prefix) but omit the mandatory pool_name capture group at the end. Add corresponding test cases (one with session_id and no pool_name, one with neither) to the existing test-additional-messages fixture.
Pipeline changes
Field / mapping changes
—
Sanitized error message
Processor 'grok' with tag 'parse_737026' in pipeline 'logs-cisco_asa.log-default' failed with message 'Provided Grok expressions do not match field value: [IPAA: Session=0x89abcdef, Client assigned 198.51.100.10 from local pool]'Sanitized log (
event_sanitizedexcerpt)<166>%ASA-6-737026: IPAA: Session=0x89abcdef, Client assigned 198.51.100.10 from local poolRisk and classification
Links
7420caee45832f50(Integration Sentinel)This pull request was opened from the Integration Sentinel agent fix flow.
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Add two new log lines to test-additional-messages.log (Session= with no pool_name; no Session= with no pool_name) and their corresponding expected JSON entries. Run 'elastic-package test pipeline -v' for cisco_asa to confirm all 737026 variants pass, including the two pre-existing cases with pool_name.
From a checkout of this branch:
Screenshots
None attached from Sentinel — add if applicable.