Skip to content

Ingest API #5199

@Bargs

Description

@Bargs

This feature was removed from 5.0. It does not currently have a target release because it will most likely require some changes.

Related to #3709

Goal is to provide API endpoints for the creation of Kibana index patterns and index templates. These will be implemented in the Kibana server.

Here is a rough initial stab at what the endpoints might look like:

POST /api/kibana/ingest
Create a new index pattern and template.

Requires the JSON formatted index pattern in the body of the request.
Properties include:

  • title: String (Required)
  • timeFieldName: String (optional, only needed for time based index patterns)
  • intervalName: String
  • fields: Object (optional, auto-generated if missing and existing indexes match pattern)
  • fieldFormatMap: Object (optional, map of non-default formatters to user for fields)

Need a place for mapping info. This might go in the fields object, or it might go in a separate property like fieldFormatMap

Title will be used as the document ID.

DELETE /api/kibana/ingest/{id}
Delete an index pattern and its template.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions