Skip to content

Installation and Configuration v2.0.0

Step-by-step setup on the Splunk side, from the apps already installed to working dashboards. This page assumes the pull strategy (the TA polling NiFi's REST API) — the default and recommended one. For push, see Push strategy (2.0) instead.

Not sure which strategy you need? See Choosing a collection strategy before you start — it also draws the architecture of both.

Requirement: all three apps installed — see Install NIFI Monitoring.

1. Create the TA input

Go to Apps > NiFi TA Monitoring > Inputs.

image

Click Create New Input. One input covers a whole NiFi instance, or a whole cluster pointed at any node — see Topology. Create one per instance you monitor.

image

Fill in, at minimum:

  • NiFi instance name — a unique name, used as the host value on every event from this input.
  • NiFi API URL — e.g. https://<address>:<port>/nifi-api/.
  • Authentication — None, or Username and password if NiFi has basic authentication enabled. Use Test connection to check the credentials before saving.
  • TLS (collapsed section, only matters over HTTPS) — leave Verify the TLS certificate on unless NiFi's certificate cannot be trusted through a CA bundle. If it's self-signed, get it and point CA bundle path at it — see Getting a certificate for the CA bundle.

Then, under Advanced, set:

  • Index — nifi, not the default. The app ships a dedicated nifi index (nifi_monitoring/default/indexes.conf), and every dashboard reads through the index_nifi macro, which points at index=nifi by default. Leaving this field at its default value breaks every panel.
  • Host field value — leave it empty for a single NiFi, and the instance name above is used. On a cluster, set it to the cluster's name, the same host as its row in the instance lookup; the add-on names each node in a separate field.

Leave every other section (Endpoints, Status History, Flow metrics, Custom endpoints) at its default for a first setup — see Pull input reference for what each one does.

Click Add to create the input. It now shows up as a row under Inputs:

image

Repeat for every NiFi instance you want to monitor.

2. Configure the Instance Lookup

Same for any version — see Instance Lookup.

Then open the Nifi Monitoring app, which lands on the Overview, and check that the configuration worked: each instance has a row with its NiFi version and a last data time of seconds or a minute ago, not No data. If one stays empty, Configuration > Collection Health says which source is missing.

image

3. (Optional) Collect NiFi's log files

Everything above gets you flow status, diagnostics, and bulletins. NiFi's own text log files (nifi-app.log and friends) are a separate, optional step: install a Universal Forwarder on the NiFi host and point it at your indexer. Full procedure: Setting up the Universal Forwarder.

4. (Optional) Accelerate the datamodel

Dashboards work without this — tstats falls back to a raw search when the datamodel isn't accelerated. Turning acceleration on is the single biggest thing you can do for panel latency, at the cost of a summary index:

  1. Settings > Data models > NIFI > Edit > Edit Acceleration.
  2. Check Accelerate, and pick a summary range. -7d is what the panels were designed around.

Next