> For the complete documentation index, see [llms.txt](https://clete.gitbook.io/clete/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://clete.gitbook.io/clete/clete-binary/processor.md).

# Processor

Clete's processor service is a module in the binary which is responsible for constantly consuming logs from the logging platform and applies machine learning to sort incoming logs into different groups for the streamer to pick up and analyse it in batches.&#x20;

The following are relevant flags for the processor

```sh
clete start processor -c <cid>
```

This starts the processor service as a background daemon process for a given context id for the organisation's vm. The -c flag is how we pass the context id to Clete

```
clete stop processor -c <cid>
```

This stops the processor service for that context id for the organisation's vm

```
clete processor logs -f -c <cid>
```

This shows the current log stream for the processor service. -f flag allows you to follow the logging stream. Thus, new logs are streamed to the terminal
