5.7. handoff_ingestor

This module exposes the consolidated noitd journal files from stratcon to an external process. There is no configuration and one must write an external journal ingestor to have this module be of any use.

The files stored in the database journal path are not deleted by stratcond and as they are added, their names are streamed using chunked HTTP to the external program currently requesting /handoff/jounrals from the wire protocol API via HTTP GET. It is the external program's responsibility to delete the files once it has consumed them.

loader

C

image

handoff_ingestor.so

5.7.1. Module Configuration

5.7.2. Check Configuration

Example 5.8. Loading the handoff_ingestor.

This example loads the handoff_ingestor.

      <stratcon>
        <modules>
          <module image="handoff_ingestor" name="handoff_ingestor" />
        </modules>
        <database>
          <journal>
            <path>/var/log/stratcon.persist</path>
          </journal>
        </database>
      </stratcon>