Skip to content

[juniper_srx] extract IP from RPD_IFD_NOTIFICATION events#18927

Draft
ilyannn wants to merge 1 commit intomainfrom
juniper_srx-system-pipeline-tweaks
Draft

[juniper_srx] extract IP from RPD_IFD_NOTIFICATION events#18927
ilyannn wants to merge 1 commit intomainfrom
juniper_srx-system-pipeline-tweaks

Conversation

@ilyannn
Copy link
Copy Markdown
Contributor

@ilyannn ilyannn commented May 9, 2026

Summary

  • Add a tag-specific grok in the system pipeline to extract the interface address from RPD_IFD_NOTIFICATION messages (pattern address #N <IP>) into host.ip and related.ip.
  • Declare juniper.srx.system.if_trace and juniper.srx.interface_index fields, which the existing juniper.srx.system.* k-v extractor surfaces from these events.
  • Tweak the juniper.srx.messagemessage rename to avoid overwriting an already-populated message field.
  • Bump version to 1.28.0 and add a changelog entry. (Note: the changelog link references PR [juniper_srx] extract IP from RPD_IFD_NOTIFICATION events #18927 as a placeholder; please update it to the actual PR number after creation.)

Test plan

  • elastic-package test pipeline -C packages/juniper_srx --data-streams log — all 14 cases PASS.
  • New RPD_IFD_NOTIFICATION test event in test-system.log produces host.ip: ["175.16.199.0"] and related.ip: ["175.16.199.0"].
  • elastic-package check -C packages/juniper_srx passes (lint + build, README regenerated).

🤖 Generated with Claude Code

Add a tag-specific grok in the system pipeline to extract the interface
address from RPD_IFD_NOTIFICATION messages (pattern: "address #N <IP>")
into host.ip and related.ip. Declare juniper.srx.system.if_trace and
juniper.srx.interface_index fields surfaced by the message k-v extractor.
Also avoid overwriting an already-populated message field when renaming
juniper.srx.message.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ilyannn ilyannn requested a review from a team as a code owner May 9, 2026 17:08
@ilyannn ilyannn marked this pull request as draft May 9, 2026 17:09
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 9, 2026

✅ Vale Linting Results

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

@elastic-vault-github-plugin-prod
Copy link
Copy Markdown

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants