-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Developer guide - index patterns key concepts #96017
Developer guide - index patterns key concepts #96017
Conversation
Pinging @elastic/kibana-app-services (Team:AppServices) |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you pls add instructions on how to build and run this locally? (sorry, I don't know that from the top of my head)
dev_docs/tutorials/data_views.mdx
Outdated
- Remove a scripted field — `DELETE /api/index_patterns/index_pattern/{id}/scripted_field/{name}` | ||
- Update a scripted field — `POST /api/index_patterns/index_pattern/{id}/scripted_field/{name}` | ||
|
||
### Dat aview API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Dat aview API | |
### Data view API |
await data.indexPatterns.delete(dataViewId); | ||
``` | ||
|
||
### Data view HTTP API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should delete this completely? (also delete from plugin readme)
- We have a more complete version at https://www.elastic.co/guide/en/kibana/master/index-patterns-api.html
- I don't think this belongs to
tutorials
- I hope we will come to automatically generated rest API docs in the future, so don't think it is worth think much were to put it for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM tested locally,
As mentioned before suggest removing REST API mentions. Or maybe link from here to user-facing docs https://www.elastic.co/guide/en/kibana/master/index-patterns-api.html
dev_docs/key_concepts/data_views.mdx
Outdated
|
||
|
||
The data view API is made available via the data plugin (`data.indexPatterns`, soon to be renamed) and most commonly used with <DocLink id="kibDevTutorialDataSearchAndSessions" section="high-level-search" text="SearchSource" /> | ||
(`data.search.search`) to perform queries. SearchSource will apply existing filters and queries from the search bar UI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(`data.search.search`) to perform queries. SearchSource will apply existing filters and queries from the search bar UI. | |
(`data.search.search.searchSource`) to perform queries. SearchSource will apply existing filters and queries from the search bar UI. |
…kibana into key_concept_index_pattern_docs
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
* add index patterns key concepts
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* add index patterns key concepts Co-authored-by: Matthew Kime <[email protected]>
closes: #92125
Adds index patterns key concept content to the developer guide.
Also moved a bunch of index pattern content from the data plugin readme to a tutorial page. The tutorial page is a straight ahead iteration over simple API use cases. It could use another pass but I didn't want the added scope creep to this task.
This PR adds the sidebar nav items - https://github.com/elastic/elastic-docs-next/pull/266