Skip to content

fix(generator): resolve log generator identity at construction - #333

Merged
Dylan-M merged 10 commits into
mainfrom
dylanmyers/log-generator-identity-seam
Oct 16, 2026
Merged

Dylan-M merged 10 commits into
mainfrom
dylanmyers/log-generator-identity-seam

Conversation

@Dylan-M

@Dylan-M Dylan-M commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Proposed Change

Log generators now get their simulated host when they're built.

docs/environment.md has the selection rules, and docs/embed.md the new API for embedders.

Checklist
  • Changes are tested
  • CI has passed

@Dylan-M
Dylan-M requested review from a team as code owners October 15, 2026 17:35
@Dylan-M
Dylan-M requested a review from eKuG October 15, 2026 17:35
@Dylan-M
Dylan-M force-pushed the dylanmyers/log-generator-identity-seam branch 2 times, most recently from 6700b12 to 2222b25 Compare October 16, 2026 15:02
@Dylan-M
Dylan-M added this pull request to stack #337 October 16, 2026 15:04
@Dylan-M
Dylan-M force-pushed the dylanmyers/log-generator-identity-seam branch from 2222b25 to 4f3e2e7 Compare October 16, 2026 15:30
Comment thread docs/environment.md Outdated
Comment on lines +102 to +106
domain (`pa-fw-01.blitz.local`) that a device's syslog header carries. Each
appliance generator entry gets its own device: when the random fleet holds
fewer devices of a vendor than the entries need, the environment appends the
rest, deterministically per seed and without moving any drawn device, so every
entry describes a real device of its own. PAN-OS devices run an 11.0.x release,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two flow generator entries can end up on the same exporting device. This happens when an entry with no exporterVendor is mixed with entries pinned to a vendor.

This contradicts the docs. According to code, two entries send records with the same exporter address, so a collector merges them into one device.

@Dylan-M
Dylan-M force-pushed the dylanmyers/log-generator-identity-seam branch from 4f3e2e7 to 2c24ffc Compare October 16, 2026 18:36
@Dylan-M
Dylan-M requested a review from eKuG October 16, 2026 18:36
@Dylan-M
Dylan-M added this pull request to the merge queue Oct 16, 2026
Merged via the queue into main with commit 8957eeb Oct 16, 2026
19 checks passed
@Dylan-M
Dylan-M deleted the dylanmyers/log-generator-identity-seam branch October 16, 2026 18:43
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