# NiFi Provisioning for Windows

# Requirements

| Processor | Version |
|-----------|---------|
| `GetRedisList`  |         |
| `WindowsContextWorker` | 1.0 > 1.x |
| `PutElasticCS` | 1.0 > 1.x |


:::tip
We recommend creating a Process Group to facilitate and organize this setup ![](https://outline.cybersift.io/api/files.get?sig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1cGxvYWRzL2MwNWNhZDYzLTA0ZmEtNGFmZC04NjMwLTI3MjNjZDYwZWZkNS8wZjU3MDIxNy1mNmMyLTQ5MDItOWMxZC01OGZjOTI3MTQzNDQvaW1hZ2UucG5nIiwidHlwZSI6ImF0dGFjaG1lbnQiLCJpYXQiOjE3OTUxNDcyMDAsImV4cCI6MTc5NTIzMzYwMH0.zgX_qDmO5fYJhwvLHYGI5wgyEPOIwzV9zphfv9PvQdo " =599x298")

:::

## Pipeline Structure

```mermaidjs
graph TD
    %% Nodes
    GetRedisList[GetRedisList]
    WindowsContextWorker[WindowsContextWorker]
    PutElasticCS_Success[PutElasticCS]
    PutElasticCS_Alerts[PutElasticCS]

    %% Connections
    GetRedisList -->|All| WindowsContextWorker
    
    WindowsContextWorker -->|SUCCESS| PutElasticCS_Success
    WindowsContextWorker -->|ALERTS| PutElasticCS_Alerts
```

### Configuring `GetRedisList` 

| Scheduling Tab |
|----------------|
| Run Schedule   | 10ms |

| Properties Tab |
|----------------|
| **Property**   | **Value** |
| List Name      | `winlogbeat` |
| *Leave the others as default* |

### Configuring `WindowsContextWorker`

*No configuration required. Leave as default*

### Configuring `PutElasticCS`

*==Applies to both Success and Alerts Processors ==*

| **Property** | **Value (Success)** | **Value (Alerts)** |
|----------|-----------------|----------------|
| **Elasticsearch ID attribute** | `es_id`         | `es_id`        |
| **==Elasticsearch Default Index==** | `${now():format('yyyy.MM.dd'):prepend('winlogbeat-')}` | `${now():format('yyyy.MM.dd'):prepend('alerts-')}` |
| **Elasticsearch Username** | *No value set*  | *No value set* |
| **Elasticsearch Index Flowfile Attribute** | *No value set*  | *No value set* |
| **Proxy Port** | *No value set*  | *No value set* |
| **Backup Directory** | *(Empty)*       | *(Empty)*      |
| **Proxy IP** | *No value set*  | *No value set* |
| **Bulk Size** | 1000            | 1000           |
| **Elasticsearch Password** | *No value set*  | *No value set* |
| **Multiple JSON per flowfile** | false           | false          |
| **Elasticsearch URL** | `http://localhost:9200` | `http://localhost:9200` |

| Relationships Tab |
|-------------------|
| Original Flow Files  | Terminate |



---


:::info
tags:

* Provisioning Nifi logs for Windows
* Configuring nifi 
* Windows logs setup

:::

---

**Documents**

- [Logs and Architecture](https://outline.cybersift.io/s/sentio-siem/doc/logs-and-architecture-acvUiDgvI5)
- [Sentio](https://outline.cybersift.io/s/sentio-siem/doc/sentio-KuYAbF5grr)
- [ISO27001:2022](https://outline.cybersift.io/s/sentio-siem/doc/iso270012022-7S5IzvF6a0)
- [FAQ](https://outline.cybersift.io/s/sentio-siem/doc/faq-vVyRNyNb60)