# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://clete.gitbook.io/clete/clete-binary/processor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
