Skip to content

[log] allow log to be installed on 9.x stacks #13123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 17, 2025

Conversation

AndersonQ
Copy link
Member

@AndersonQ AndersonQ commented Mar 14, 2025

Proposed commit message

allow log integration to be installed on 9.x stacks.

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

How to test this PR locally

Spin up a 9.x stack, either using elastic-package or by any other means.
If not using elastic stack, set the following environment vatiables:

export ELASTIC_PACKAGE_ELASTICSEARCH_HOST=
export ELASTIC_PACKAGE_ELASTICSEARCH_USERNAME=elastic
export ELASTIC_PACKAGE_ELASTICSEARCH_PASSWORD=
export ELASTIC_PACKAGE_ELASTICSEARCH_KIBANA_HOST=
export ELASTIC_PACKAGE_KIBANA_HOST=

Install the package with elastic-package

cd packages/log
elastic-package install

Verify the Custom Log integration is on version 2.4.0

Related issues

Screenshots

Screenshot from 2025-03-14 16-55-23

@AndersonQ AndersonQ force-pushed the 13120-add-custom-logs-to-9.0 branch from 6b5a1cb to 79b23b4 Compare March 14, 2025 15:50
@AndersonQ AndersonQ self-assigned this Mar 14, 2025
@AndersonQ AndersonQ added the Team:Elastic-Agent-Data-Plane Agent Data Plane team [elastic/elastic-agent-data-plane] label Mar 14, 2025
@AndersonQ AndersonQ marked this pull request as ready for review March 14, 2025 15:56
@AndersonQ AndersonQ requested a review from a team as a code owner March 14, 2025 15:56
@AndersonQ AndersonQ requested review from rdner and mauri870 March 14, 2025 15:56
@elasticmachine
Copy link

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@@ -4,13 +4,13 @@ title: Custom Logs
description: >-
Collect custom logs with Elastic Agent.
type: input
version: 2.3.3
version: 2.3.4
Copy link
Member

Choose a reason for hiding this comment

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

Nit. When making changes to the kibana version constraint is a good idea to increase the minor version of the package, in case backports are needed only for the previous set of kibana versions.

Suggested change
version: 2.3.4
version: 2.4.0

@andrewkroh andrewkroh added the Integration:log Custom Logs (Deprecated) label Mar 17, 2025
@elasticmachine
Copy link

💚 Build Succeeded

History

cc @AndersonQ

Copy link

@AndersonQ AndersonQ merged commit 2ebb1ac into elastic:main Mar 17, 2025
7 checks passed
@AndersonQ AndersonQ deleted the 13120-add-custom-logs-to-9.0 branch March 17, 2025 14:53
@elastic-vault-github-plugin-prod

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Integration:log Custom Logs (Deprecated) Team:Elastic-Agent-Data-Plane Agent Data Plane team [elastic/elastic-agent-data-plane]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Custom Los]: It's on version 1.1.2 on the 9.x stack
5 participants