NiFi Provisioning for Windows

Requirements

Processor

Version

GetRedisList


WindowsContextWorker

1.0 > 1.x

PutElasticCS

1.0 > 1.x

We recommend creating a Process Group to facilitate and organize this setup


Pipeline Structure

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



tags:

  • Provisioning Nifi logs for Windows

  • Configuring nifi

  • Windows logs setup