Skip to content
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

Fix broken link for grok patterns in documentation #78878

Conversation

stephane-deraco
Copy link
Contributor

@stephane-deraco stephane-deraco commented Oct 8, 2021

The current link for grok patterns does not exist anymore:

https://github.com/elastic/elasticsearch/blob/master/libs/grok/src/main/resources/patterns/grok-patterns

I have replaced it with:

https://github.com/elastic/elasticsearch/blob/master/libs/grok/src/main/resources/patterns/ecs-v1/grok-patterns

But I'm unsure if it is the right link as there is also a 'legacy' folder.

--
Related to #76885

@elasticsearchmachine elasticsearchmachine added v8.0.0 external-contributor Pull request authored by a developer outside the Elasticsearch team labels Oct 8, 2021
@lockewritesdocs lockewritesdocs self-assigned this Oct 11, 2021
@lockewritesdocs lockewritesdocs added the >docs General docs changes label Oct 11, 2021
@elasticmachine elasticmachine added the Team:Docs Meta label for docs team label Oct 11, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

@lockewritesdocs
Copy link
Contributor

@nik9000, should we link to the ecs-1 pattern or the legacy pattern? I see differences in the patterns, but am unsure which one we should link to.

@nik9000
Copy link
Member

nik9000 commented Oct 11, 2021

@danhermann will know more. It looks like the default is the legacy patterns but I don't know if that's what the link should be.

@danhermann
Copy link
Contributor

@nik9000, thanks for the ping. The default pattern set remains the legacy patterns. @lockewritesdocs, I'll leave it up to you whether you want to mention the availability of ECS-compliant patterns in addition to the legacy patterns.

Copy link
Contributor

@danhermann danhermann left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for fixing the link, @lockewritesdocs!

@lockewritesdocs
Copy link
Contributor

@elasticmachine test this please

@lockewritesdocs lockewritesdocs merged commit dfc9df8 into elastic:master Oct 12, 2021
lockewritesdocs pushed a commit to lockewritesdocs/elasticsearch that referenced this pull request Oct 12, 2021
* Fix broken link for grok patterns in documentation

The current link for grok patterns does not exist anymore:

https://github.com/elastic/elasticsearch/blob/master/libs/grok/src/main/resources/patterns/grok-patterns

I have replaced it with:

https://github.com/elastic/elasticsearch/blob/master/libs/grok/src/main/resources/patterns/ecs-v1/grok-patterns

But I'm unsure if it is the right link as there is also a 'legacy' folder.

* Update link and add section for ECS migration

Co-authored-by: Adam Locke <[email protected]>
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
7.x

@lockewritesdocs
Copy link
Contributor

Thanks for highlighting this broken link @stephane-deraco!

elasticsearchmachine pushed a commit that referenced this pull request Oct 12, 2021
* Fix broken link for grok patterns in documentation

The current link for grok patterns does not exist anymore:

https://github.com/elastic/elasticsearch/blob/master/libs/grok/src/main/resources/patterns/grok-patterns

I have replaced it with:

https://github.com/elastic/elasticsearch/blob/master/libs/grok/src/main/resources/patterns/ecs-v1/grok-patterns

But I'm unsure if it is the right link as there is also a 'legacy' folder.

* Update link and add section for ECS migration

Co-authored-by: Adam Locke <[email protected]>

Co-authored-by: Stéphane DERACO <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>docs General docs changes external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Docs Meta label for docs team v7.16.0 v8.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants