Recommended configuration for sending logs to sub-accounts.
Hi,
We are assessing sub-accounts and were wondering what are the configuration requirements for sending logs to multiple sub-accounts.
Assuming we have tens of sub-accounts and we'd like to use Filebeat-docker for logs shipment:
- Should we have a separate configuration file for each sub-account? If so, does that mean that we will require a separate filebeat-docker for each of the files?
- Can we hold all the configurations for each of the sub-accounts on a single configuration file? If so, does each section of a sub-account requires specifying the token of the sub-account or can we use some kind of higher-level token which given access to all of the sub-accounts? If this is feasible, can you provide an example of such a configuration file?
Thanks,
Shahar.
-
Official comment
Hi Shahar, this is Amit from the support team at Logz.io.
In the log-shipping page you can find an example of a configuration file.
1. As you can see there, each config file (one for each filebeat-docker) receives one account token. Therefore you need a separate filebeat-docker to ship logs to each account.
2. Each configuration file can hold as many log-file paths as you want, as long as you ship them all to the same account. The token is specified only once, in the top part of the config file. There is no option of shipping to different accounts using the same filebeat-docker shipper.
Have a nice day,
Amit
Comment actions
Please sign in to leave a comment.
Comments
1 comment