Revision ecfa20bd1a6282ffdbffe8ed2cea8f775d7a53f9, 1.2 kB (checked in by Theo Schlossnagle <>, 7 years ago)

this adds a handoff ingestor that makes it possible to do the ingestion from an external process that connects to stratcond for notifications of new journals

  • Property mode set to 100644
1 <module>
2   <name>handoff_ingestor</name>
3   <description><para>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.</para>
4     <para>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.</para></description>
5   <loader>C</loader>
6   <image></image>
7   <moduleconfig>
8   </moduleconfig>
9   <checkconfig />
10   <examples>
11     <example>
12       <title>Loading the handoff_ingestor.</title>
13       <para>This example loads the handoff_ingestor.</para>
14       <programlisting><![CDATA[
15       <stratcon>
16         <modules>
17           <module image="handoff_ingestor" name="handoff_ingestor" />
18         </modules>
19         <database>
20           <journal>
21             <path>/var/log/stratcon.persist</path>
22           </journal>
23         </database>
24       </stratcon>
25     ]]></programlisting>
26     </example>
27   </examples>
28 </module>
Note: See TracBrowser for help on using the browser.