Skip to content

Fix/XSUP-69940/FortiManager parsing rule#44446

Draft
MosheEichler wants to merge 1 commit into
masterfrom
fix/XSUP-69940/FortiManager-parsing-rule
Draft

Fix/XSUP-69940/FortiManager parsing rule#44446
MosheEichler wants to merge 1 commit into
masterfrom
fix/XSUP-69940/FortiManager-parsing-rule

Conversation

@MosheEichler
Copy link
Copy Markdown
Contributor

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

https://jira-dc.paloaltonetworks.com/browse/XSUP-69940

Description

Root Cause:

The parsing rule in FortiManager.xif used a generic regex regextract(_raw_log, "\d{2}:\d{2}:\d{2}") to extract the time component, which grabbed the first HH:MM:SS pattern found anywhere in the raw log — not necessarily the time= field. This caused the wrong timestamp (or the ingestion time fallback) to be stored in _time.

Fix applied in FortiManager.xif:

Changed the filter to specifically match date=YYYY-MM-DD time=HH:MM:SS tz=... key-value format
Changed tmp_date extraction to use date=(\d{4}-\d{2}-\d{2}) — anchored to the date= field
Changed tmp_time extraction to use time=(\d{2}:\d{2}:\d{2}) — anchored to the time= field
The tz= extraction was already correct and unchanged

Must have

  • Tests
  • Documentation

@MosheEichler MosheEichler requested a review from OBavly May 28, 2026 10:00
@MosheEichler MosheEichler self-assigned this May 28, 2026
@content-bot
Copy link
Copy Markdown
Contributor

🤖 AI-Powered Code Review Available

You can leverage AI-powered code review to assist with this PR!

Available Commands:

  • @marketplace-ai-reviewer start review - Initiate a full AI code review
  • @marketplace-ai-reviewer re-review - Incremental review for new commits

@content-bot
Copy link
Copy Markdown
Contributor

⚠️ The PR is missing the ready-for-pipeline-running label. Please add the label when the PR is ready in order to proceed.

@content-bot
Copy link
Copy Markdown
Contributor

🔍 AI Triage Report Available

An automated triage report has been generated for this pipeline.

Status: failed
Report ID: 873fe64d802f2363

📋 Triage Report
💡 Resolutions are available in the full report.

⚠️ AI-generated triage. Validate before acting.

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