Skip to content

[vsphere] add extra grok pattern to cover more log formats - #15274

Merged
stefans-elastic merged 4 commits into
elastic:mainfrom
stefans-elastic:vsphere-grok
Sep 16, 2025
Merged

[vsphere] add extra grok pattern to cover more log formats#15274
stefans-elastic merged 4 commits into
elastic:mainfrom
stefans-elastic:vsphere-grok

Conversation

@stefans-elastic

@stefans-elastic stefans-elastic commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

Proposed commit message

See title

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

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

  • Closes elastic/obs-integration-team#582

Screenshots

@stefans-elastic
stefans-elastic requested a review from a team as a code owner September 10, 2025 13:30
@stefans-elastic stefans-elastic added enhancement New feature or request Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] labels Sep 10, 2025
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

Comment thread packages/vsphere/changelog.yml Outdated
@elasticmachine

Copy link
Copy Markdown

💚 Build Succeeded

History

@ishleenk17

Copy link
Copy Markdown
Member

Can we create an issue which type of log aptterns are we creating here. And lonk the issue to this for claruty @stefans-elastic

@stefans-elastic

Copy link
Copy Markdown
Contributor Author

Can we create an issue which type of log aptterns are we creating here. And lonk the issue to this for claruty @stefans-elastic

updated the parent issue

(%{POSINT:process.pid:long}|-) - -%{SPACE}%{GREEDYDATA:message}"
- "^(%{ECS_SYSLOG_PRIORITY})?%{TIMESTAMP_ISO8601:_tmp.timestamp}%{SPACE}%{HOST}%{SPACE}%{DATA:process.name}(?:\\[%{POSINT:process.pid:long}\\])?\\:
%{GREEDYDATA:message}"
- "^(%{ECS_SYSLOG_PRIORITY})?%{TIMESTAMP_ISO8601:_tmp.timestamp}%{SPACE}%{HOST}%{SPACE}%{NOTSPACE:process.name}%{SPACE}(%{POSINT:process.pid:long}|-)( -)?%{SPACE}%{GREEDYDATA:message}"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

  1. Any specififc reason for using {NOTSPACE:process.name} instead of {DATA:process.name} ?
  2. Have we officially verified that vSphere logs can have process id without [ ] ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

  1. No. Its just what I've found sooner (somehow).
  2. These patterns came up from a customer issue so I think - yes.
@stefans-elastic
stefans-elastic merged commit 400a139 into elastic:main Sep 16, 2025
9 checks passed
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

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

tehbooom pushed a commit to tehbooom/integrations that referenced this pull request Nov 19, 2025
…5274)

* [vsphere] add extra grok pattern to cover more log formats

* pattern cleanup

* Update packages/vsphere/changelog.yml

---------

Co-authored-by: Mykola Kmet <mykola.kmet@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:vsphere VMware vSphere Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

6 participants