No, if you have fifty separate, unrelated log streams you need fifty separate LogstreamerInputs. If they're all living in the same location it should be pretty easy to script your config generation.
-r On 04/07/2016 12:27 AM, Abhiman wrote:
> If I understand what you're saying, you're using LogstreamerInput > incorrectly. A single LogstreamerInput is meant to map to either a > single log stream, or possibly multiple logstreams of identical > structure, such as a set of access logs for a number of different domains. > > You seem to be trying to use a single LogstreamerInput to track a bunch > of conceptually unrelated log files, which won't work. You'll want to > use a separate LogstreamerInput for each file. > > -r > Thaks Rob, I tried with separate LogstreamerInput for each file and it is working. But i have 50 files and it comes a tedious job to do it for all. Is there any short way to do the same i.e upload 50 log files without having to write the LogstreamerInput for each one. Thanks _______________________________________________ Heka mailing list [email protected] https://mail.mozilla.org/listinfo/heka
_______________________________________________ Heka mailing list [email protected] https://mail.mozilla.org/listinfo/heka

