1"use strict";(globalThis.webpackChunkmy_website=globalThis.webpackChunkmy_website||[]).push([[1022],{46062:(e,s,o)=>{o.r(s),o.d(s,{assets:()=>c,contentTitle:()=>l,default:()=>u,frontMatter:()=>i,metadata:()=>r,toc:()=>a});const r=JSON.parse('{"id":"usage/processors/index","title":"Processors","description":"Execution Processors","source":"@site/versioned_docs/version-v3/usage/processors/index.md","sourceDirName":"usage/processors","slug":"/usage/processors/","permalink":"/docs/v3/usage/processors/","draft":false,"unlisted":false,"editUrl":"https://github.com/distribworks/dkron/tree/main/website/docs/versioned_docs/version-v3/usage/processors/index.md","tags":[],"version":"v3","frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"Developing plugins","permalink":"/docs/v3/usage/plugins/develop"},"next":{"title":"File Processor","permalink":"/docs/v3/usage/processors/file"}}');var n=o(86070),t=o(48193);const i={},l="Processors",c={},a=[{value:"Execution Processors",id:"execution-processors",level:2},{value:"Built-in processors",id:"built-in-processors",level:3}];function d(e){const s={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ol:"ol",p:"p",ul:"ul",...(0,t.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.header,{children:(0,n.jsx)(s.h1,{id:"processors",children:"Processors"})}),"\n",(0,n.jsx)(s.h2,{id:"execution-processors",children:"Execution Processors"}),"\n",(0,n.jsx)(s.p,{children:"Processor plugins are called when an execution response has been received. They are passed the resulting execution data and configuration parameters, this plugins can perform a variety of operations with the execution and it's very flexible and per Job, examples of operations this plugins can do:"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsx)(s.li,{children:"Execution output storage, forwarding or redirection."}),"\n",(0,n.jsx)(s.li,{children:"Notification"}),"\n",(0,n.jsx)(s.li,{children:"Monitoring"}),"\n"]}),"\n",(0,n.jsx)(s.p,{children:"For example, Processor plugins can be used to redirect the output of a job execution to different targets."}),"\n",(0,n.jsx)(s.p,{children:"Currently Dkron provides you with some built-in plugins but the list keeps growing. Some of the features previously implemented in the application will be progessively moved to plugins."}),"\n",(0,n.jsx)(s.h3,{id:"built-in-processors",children:"Built-in processors"}),"\n",(0,n.jsx)(s.p,{children:"Dkron provides the following built-in processors:"}),"\n",(0,n.jsxs)(s.ol,{start:"0",children:["\n",(0,n.jsx)(s.li,{children:"not specified - Store the output in the key value store (Slow performance, good for testing, default method)"}),"\n",(0,n.jsx)(s.li,{children:"log - Output the execution log to Dkron stdout (Good performance, needs parsing)"}),"\n",(0,n.jsx)(s.li,{children:"syslog - Output to the syslog (Good performance, needs parsing)"}),"\n",(0,n.jsx)(s.li,{children:"files - Output to multiple files (Good performance, needs parsing)"}),"\n"]}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"/pro/",children:"Dkro Pro"})," provides you with several more processors."]}),"\n",(0,n.jsxs)(s.p,{children:["All plugins accepts one configuration option: ",(0,n.jsx)(s.code,{children:"forward"})," Indicated if the plugin must forward the original execution output. This allows for chaining plugins and sending output to different targets at the same time."]})]})}function u(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},48193:(e,s,o)=>{o.d(s,{R:()=>i,x:()=>l});var r=o(30758);const n={},t=r.createContext(n);function i(e){const s=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),r.createElement(t.Provider,{value:s},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.