[GH-ISSUE #69] harvester.conf generation #54

Closed
opened 2026-02-26 05:31:11 +03:00 by kerem · 3 comments
Owner

Originally created by @Simplycissimys on GitHub (Apr 26, 2013).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/69

It should be very usedull featuree, if logio can run some script (sh,py) to generate harvester.conf, instead hard writing log files paths. For example, if logio can't find harvester.conf, it just execute harvester.sh script which returns in stdout list of log files paths , or if harvester.conf contains some flag (#!/bin/bash) - logio execute it.

Originally created by @Simplycissimys on GitHub (Apr 26, 2013). Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/69 It should be very usedull featuree, if logio can run some script (sh,py) to generate harvester.conf, instead hard writing log files paths. For example, if logio can't find harvester.conf, it just execute harvester.sh script which returns in stdout list of log files paths , or if harvester.conf contains some flag (#!/bin/bash) - logio execute it.
kerem closed this issue 2026-02-26 05:31:11 +03:00
Author
Owner

@rakrachok commented on GitHub (Apr 26, 2013):

In solidarity with Simplycissimys, because I have the same problems, and I will kill one kitten per day until it will not solve

<!-- gh-comment-id:17059183 --> @rakrachok commented on GitHub (Apr 26, 2013): In solidarity with [Simplycissimys](https://github.com/Simplycissimys), because I have the same problems, and I will kill one kitten per day until it will not solve
Author
Owner

@leerich commented on GitHub (Oct 16, 2013):

It would also be great if there were more harvester.conf examples provided somewhere. The existing example is fine to get started, but doesn't show the full capabilities that I suspect this utility has.

<!-- gh-comment-id:26426405 --> @leerich commented on GitHub (Oct 16, 2013): It would also be great if there were more harvester.conf examples provided somewhere. The existing example is fine to get started, but doesn't show the full capabilities that I suspect this utility has.
Author
Owner

@msmathers commented on GitHub (Aug 1, 2014):

It should be relatively trivial to write a script to generate the harvester config file, as it's a very simple JSON structure; you could write the script in python/ruby/java/etc... and have it serialize a JSON string and write to a file.

The provided configuration files demonstrate every available configuration option, you simply have to fill out the harvester configuration with additional keys (stream names) that map to a list of multiple file paths.

<!-- gh-comment-id:50854955 --> @msmathers commented on GitHub (Aug 1, 2014): It should be relatively trivial to write a script to generate the harvester config file, as it's a very simple JSON structure; you could write the script in python/ruby/java/etc... and have it serialize a JSON string and write to a file. The provided configuration files demonstrate every available configuration option, you simply have to fill out the harvester configuration with additional keys (stream names) that map to a list of multiple file paths.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/log.io-NarrativeScience-old#54
No description provided.