Skip to content

Conversation

@Nacon96
Copy link
Contributor

@Nacon96 Nacon96 commented Nov 8, 2024

Proposed commit message

The current parser is not processing the hostname field of syslog messages, so in some cases, the observer.name field remains empty.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices
@Nacon96 Nacon96 requested a review from a team as a code owner November 8, 2024 18:57
@cla-checker-service
Copy link

cla-checker-service bot commented Nov 8, 2024

💚 CLA has been signed

@andrewkroh andrewkroh added Integration:fortinet_fortigate Fortinet FortiGate Firewall Logs needs CLA User must sign the Elastic Contributor License before review. Team:Security-Deployment and Devices DEPRECATED Deployment and Devices Security team [elastic/sec-deployment-and-devices] labels Nov 8, 2024
@elasticmachine
Copy link

Pinging @elastic/sec-deployment-and-devices (Team:Security-Deployment and Devices)

@andrewkroh andrewkroh added bugfix Pull request that fixes a bug issue and removed needs CLA User must sign the Elastic Contributor License before review. labels Nov 8, 2024
Copy link
Contributor

@taylor-swanson taylor-swanson left a comment

Choose a reason for hiding this comment

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

Some minor changes, but otherwise seems good to me.

The top-level manifest version needs to be updated as well:

manifest.yml:

- version: "1.26.0" + version: "1.27.0"
Copy link
Contributor Author

@Nacon96 Nacon96 left a comment

Choose a reason for hiding this comment

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

i see the changes adequate, thanks.

Copy link
Contributor

@taylor-swanson taylor-swanson left a comment

Choose a reason for hiding this comment

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

In case I wasn't clear, the changes I requested are ones I'm requiring.

  • For how we use semver, any additional fields added require at least a minor change to versioning. Patch versions are reserved for bugfixes/enhancements that don't alter the structure of documents, among other things.
  • We don't need to set fields from a grok only to not use them and only remove them later. This just adds unnecessary actions to the pipeline.
Nacon96 and others added 4 commits November 12, 2024 17:54
…st_pipeline/default.yml Co-authored-by: Taylor Swanson <90622908+taylor-swanson@users.noreply.github.com>
Co-authored-by: Taylor Swanson <90622908+taylor-swanson@users.noreply.github.com>
…st_pipeline/default.yml Co-authored-by: Taylor Swanson <90622908+taylor-swanson@users.noreply.github.com>
…st_pipeline/default.yml Co-authored-by: Taylor Swanson <90622908+taylor-swanson@users.noreply.github.com>
Copy link
Contributor

@taylor-swanson taylor-swanson left a comment

Choose a reason for hiding this comment

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

Updated changes LGTM, we just need to bump the version in the manifest.

packages/fortinet_fortigate/manifest.yml

- version: "1.26.0" + version: "1.27.0"
@taylor-swanson
Copy link
Contributor

/test

@andrewkroh andrewkroh added enhancement New feature or request and removed bugfix Pull request that fixes a bug issue labels Dec 6, 2024
@andrewkroh
Copy link
Member

we just need to bump the version in the manifest.

I pushed this change. And aligned the changelog to use enhancement. PTAL

@taylor-swanson
Copy link
Contributor

/test

@elastic-vault-github-plugin-prod

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine
Copy link

💚 Build Succeeded

History

@taylor-swanson taylor-swanson merged commit 73f0cf3 into elastic:main Dec 6, 2024
5 checks passed
@elastic-vault-github-plugin-prod

Package fortinet_fortigate - 1.27.0 containing this change is available at https://epr.elastic.co/package/fortinet_fortigate/1.27.0/

harnish-crest-data pushed a commit to chavdaharnish/integrations that referenced this pull request Feb 4, 2025
- The current parser is not processing the hostname field of syslog messages, so in some cases, the observer.name field remains empty. Added support for parsing out the hostname field of syslog messages and placing it into the observer.name field. --------- Co-authored-by: Taylor Swanson <90622908+taylor-swanson@users.noreply.github.com> Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
harnish-crest-data pushed a commit to chavdaharnish/integrations that referenced this pull request Feb 5, 2025
- The current parser is not processing the hostname field of syslog messages, so in some cases, the observer.name field remains empty. Added support for parsing out the hostname field of syslog messages and placing it into the observer.name field. --------- Co-authored-by: Taylor Swanson <90622908+taylor-swanson@users.noreply.github.com> Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Integration:fortinet_fortigate Fortinet FortiGate Firewall Logs Team:Security-Deployment and Devices DEPRECATED Deployment and Devices Security team [elastic/sec-deployment-and-devices]

4 participants