Skip to content
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
title: Nginx access logs
type: logs
allow_routing: true
streams:
- input: logfile
vars:
Expand Down
1 change: 1 addition & 0 deletions test/packages/good/data_stream/foo/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
title: Nginx access logs
type: logs
allow_routing: true
Copy link
Member

Choose a reason for hiding this comment

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

As this is related to elasticsearch configuration, I think it could be at the root level of elasticsearch, even if it doesn't belong to the elasticsearch.privileges object #327 (comment).

We did something similar for the time series mode in https://github.com/elastic/package-spec/pull/357/files.

Copy link
Member

Choose a reason for hiding this comment

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

@felixbarny is this change still required? Wdyt about placing this parameter under elasticsearch object?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, this is still required. Are all the blockers resolved now? I don’t care so much about where the flag is. Happy to change it to be under elasticsearch if you think that’s a better place.

Copy link
Member

Choose a reason for hiding this comment

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

This blocker was solved elastic/kibana#115032, not sure if there were any others.

Yes, please update the branch to put the new setting under elasticsearch. We removed the versions directory, so you will also need to move the changes to the new structure.

Copy link
Member Author

Choose a reason for hiding this comment

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

I've moved it and renamed and split the property so that it's both more self-explanatory and flexible.

streams:
- input: logfile
vars:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
title: Nginx access logs
type: logs
allow_routing: true
streams:
- input: logfile
vars:
Expand Down
3 changes: 3 additions & 0 deletions versions/1/integration/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
- description: Add Kibana/osquery-saved-query
type: enhancement
link: https://github.com/elastic/package-spec/pull/321
- description: Add "allow_routing" to data stream manifest
type: enhancement
link: https://github.com/elastic/package-spec/pull/327
- version: 1.7.0
changes:
- description: Add kibana/osquery-pack-asset
Expand Down
5 changes: 5 additions & 0 deletions versions/1/integration/data_stream/manifest.spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ spec:
hidden:
description: Specifies if a data stream is hidden
type: boolean
allow_routing:
description: When set to true, the integration is granted data stream privileges for all datasets and namespaces of its type
type: boolean
items:
type: string
streams:
description: Streams offered by data stream.
type: array
Expand Down