blob: 252e16b787a43fc2c0c8bcb71ed1f95d450aaed1 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
MiNiFi Config Version: 3
Flow Controller:
name: MiNiFi Flow
Processors:
- name: Consume Windows Events in JSON format
id: 2f2a3b47-f5ba-49f6-82b5-bc1c86b96e27
class: org.apache.nifi.minifi.processors.ConsumeWindowsEventLog
scheduling strategy: TIMER_DRIVEN
scheduling period: 1000 ms
Properties:
Channel: "System"
Query: "*"
Output Format: "JSON"
JSON Format: "Flattened"
Batch Commit Size: "10"
- name: Put files to C:\temp\
id: e143601d-de4f-44ba-a6ec-d1f97d77ec94
class: org.apache.nifi.minifi.processors.PutFile
scheduling strategy: EVENT_DRIVEN
auto-terminated relationships list:
- failure
- success
Properties:
Conflict Resolution Strategy: fail
Create Missing Directories: 'true'
Directory: C:\temp\
Connections:
- name: ConsumeWindowsEventLog/success/PutFile
id: 098a56ba-f4bf-4323-a3f3-6f8a5e3586bf
source id: 2f2a3b47-f5ba-49f6-82b5-bc1c86b96e27
source relationship names:
- success
destination id: e143601d-de4f-44ba-a6ec-d1f97d77ec94
Controller Services: []
Remote Process Groups: []