Hopefully I missing something really trivial. I've got a new 1.9.2 install with HTTPS enabled. I've added my initial user to the data provenance policy and I'm able to click on the data provenance menu but it's always empty despite seeing files getting modifed in the ./provenance_repository folder.
Provenance Directory $ls -lh total 44K -rw-r--r--. 1 nifi nifi 44K Sep 25 17:25 0.prov drwxr-xr-x. 2 nifi nifi 213 Sep 25 17:25 index-1569449624732 drwxr-xr-x. 2 nifi nifi 19 Sep 25 17:13 toc Here is the NiFi Log from the query. 2019-09-25 17:20:03,390 INFO [Provenance Query-1] o.a.nifi.provenance.StandardQueryResult Completed Query[ [] ] comprised of 1 steps in 3 millis 2019-09-25 17:20:03,390 INFO [Provenance Query-1] o.a.n.provenance.index.lucene.QueryTask Successfully queried index ./provenance_repository/index-1569449624732 for query *:*; retrieved 0 events with a total of 26 hits in 3 millis Here's the config. # Provenance Repository Properties nifi.provenance.repository.implementation=org.apache.nifi.provenance.WriteAheadProvenanceRepository nifi.provenance.repository.debug.frequency=1_000_000 nifi.provenance.repository.encryption.key.provider.implementation= nifi.provenance.repository.encryption.key.provider.location= nifi.provenance.repository.encryption.key.id= nifi.provenance.repository.encryption.key= # Persistent Provenance Repository Properties nifi.provenance.repository.directory.default=./provenance_repository nifi.provenance.repository.max.storage.time=30 days nifi.provenance.repository.max.storage.size=4 GB nifi.provenance.repository.rollover.time=30 secs nifi.provenance.repository.rollover.size=100 MB nifi.provenance.repository.query.threads=2 nifi.provenance.repository.index.threads=2 nifi.provenance.repository.compress.on.rollover=true nifi.provenance.repository.always.sync=false # Comma-separated list of fields. Fields that are not indexed will not be searchable. Valid fields are: # EventType, FlowFileUUID, Filename, TransitURI, ProcessorID, AlternateIdentifierURI, Relationship, Details nifi.provenance.repository.indexed.fields=EventType, FlowFileUUID, Filename, ProcessorID, Relationship # FlowFile Attributes that should be indexed and made searchable. Some examples to consider are filename, uuid, mime.type nifi.provenance.repository.indexed.attributes= # Large values for the shard size will result in more Java heap usage when searching the Provenance Repository # but should provide better performance nifi.provenance.repository.index.shard.size=500 MB # Indicates the maximum length that a FlowFile attribute can be when retrieving a Provenance Event from # the repository. If the length of any attribute exceeds this value, it will be truncated when the event is retrieved. nifi.provenance.repository.max.attribute.length=65536 nifi.provenance.repository.concurrent.merge.threads=2
