elastic / elastic/package-spec

Multiple modules, only one config set

Open
#51 13 comments 0 reactions 0 assignees View on GitHub
Team:Fleet
Dominant language
Go
Stars
20
Forks
93
Avg merge
15h 10m
Merged PRs (30d)
12

Description

I received this question from @fearful-symmetry today. Let's discuss it here -

Is it possible to have an integration with multiple modules but only one config set? Like, the only way I know to link the integration to a given module is to use config templates:

```
config_templates:
- name: system
title: System logs and metrics
description: Collect logs and metrics from System instances
inputs:
- type: logfile
title: Collect logs from System instances
description: Collecting System auth and syslog logs
- type: system/metrics
title: Collect metrics from System instances
description: Collecting System core, CPU, diskio
```

But this will produce two config sets, one for `Collect logs from System instances` in the `logfile` module, and one for `Collect metrics from System instances` from the `system/metrics` module. Is there a way to just get one config set for an arbitrary number of modules?

/cc @ruflin @ycombinator

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.