Skip to content

pipeline tests - Ignore url.extension for ES < 8.14#10685

Merged
kcreddy merged 2 commits intoelastic:mainfrom
kcreddy:flaky-tests-url
Aug 6, 2024
Merged

pipeline tests - Ignore url.extension for ES < 8.14#10685
kcreddy merged 2 commits intoelastic:mainfrom
kcreddy:flaky-tests-url

Conversation

@kcreddy
Copy link
Copy Markdown
Contributor

@kcreddy kcreddy commented Aug 2, 2024

Proposed commit message

Extension to #9623

Ignore the existence of an invalid url.extension field. Stack versions < 8.14
had a bug that populated the field with bad data. After a package uses a minimum
stack version of 8.14.0 then this addition to dynamic_fields can be removed.

This fixes errors like this which occur under v8.14.0+

+++ got
@@ -1797,7 +1797,6 @@
                 "preserve_duplicate_custom_fields"
             ],
             "url": {
-                "extension": "com/page",
                 "original": "www.example.com/page",
                 "path": "www.example.com/page"
             }

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.

Related issues

@elasticmachine
Copy link
Copy Markdown

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@kcreddy kcreddy marked this pull request as ready for review August 2, 2024 08:17
@kcreddy kcreddy requested a review from a team as a code owner August 2, 2024 08:17
@kcreddy kcreddy self-assigned this Aug 2, 2024
@kcreddy kcreddy added Integration:zscaler_zia Zscaler Internet Access Integration:f5_bigip F5 BIG-IP Integration:prisma_access Palo Alto Prisma Access flaky-test Unstable or unreliable test cases. Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] labels Aug 2, 2024
@elasticmachine
Copy link
Copy Markdown

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

Copy link
Copy Markdown
Contributor

@efd6 efd6 left a comment

Choose a reason for hiding this comment

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

Do we want version-next in the changelog?

@kcreddy
Copy link
Copy Markdown
Contributor Author

kcreddy commented Aug 6, 2024

Do we want version-next in the changelog?

@efd6, I'm following up on #9623, which also doesn't add changelog entries. Its not needed. Do you want them?

@efd6
Copy link
Copy Markdown
Contributor

efd6 commented Aug 6, 2024

I'm fine with what is here.

@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

History

cc @kcreddy

@elastic-sonarqube
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@kcreddy kcreddy merged commit 11aa6d4 into elastic:main Aug 6, 2024
@kcreddy kcreddy mentioned this pull request Jan 15, 2025
5 tasks
kcreddy added a commit that referenced this pull request Jan 17, 2025
- Add geoip processor on source(client) and destination(server) IPs as relevant for each log type.
- Remove url.extension from dynamic_fields list added in pipeline tests in #10685 as minimum kibana version requirement is met.
harnish-crest-data pushed a commit to chavdaharnish/integrations that referenced this pull request Feb 4, 2025
Extension to elastic#9623

Ignore the existence of an invalid url.extension field. Stack versions < 8.14
had a bug that populated the field with bad data. After a package uses a minimum
stack version of 8.14.0 then this addition to dynamic_fields can be removed.

This fixes errors like this which occur under v8.14.0+

+++ got
@@ -1797,7 +1797,6 @@
                 "preserve_duplicate_custom_fields"
             ],
             "url": {
-                "extension": "com/page",
                 "original": "www.example.com/page",
                 "path": "www.example.com/page"
             }

Relates: elastic/elasticsearch#105689
harnish-crest-data pushed a commit to chavdaharnish/integrations that referenced this pull request Feb 4, 2025
- Add geoip processor on source(client) and destination(server) IPs as relevant for each log type.
- Remove url.extension from dynamic_fields list added in pipeline tests in elastic#10685 as minimum kibana version requirement is met.
harnish-crest-data pushed a commit to chavdaharnish/integrations that referenced this pull request Feb 5, 2025
Extension to elastic#9623

Ignore the existence of an invalid url.extension field. Stack versions < 8.14
had a bug that populated the field with bad data. After a package uses a minimum
stack version of 8.14.0 then this addition to dynamic_fields can be removed.

This fixes errors like this which occur under v8.14.0+

+++ got
@@ -1797,7 +1797,6 @@
                 "preserve_duplicate_custom_fields"
             ],
             "url": {
-                "extension": "com/page",
                 "original": "www.example.com/page",
                 "path": "www.example.com/page"
             }

Relates: elastic/elasticsearch#105689
harnish-crest-data pushed a commit to chavdaharnish/integrations that referenced this pull request Feb 5, 2025
- Add geoip processor on source(client) and destination(server) IPs as relevant for each log type.
- Remove url.extension from dynamic_fields list added in pipeline tests in elastic#10685 as minimum kibana version requirement is met.
@kcreddy kcreddy deleted the flaky-tests-url branch February 7, 2025 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flaky-test Unstable or unreliable test cases. Integration:f5_bigip F5 BIG-IP Integration:prisma_access Palo Alto Prisma Access Integration:zscaler_zia Zscaler Internet Access Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants