Registry client cant see available buckets in secure setup using oidc authentication

2023-08-21 Thread Mark Moore
We have a secure nifi and nifi registry running with oidc authentication version 1.23.0. Both nifi and registry authentication is working through oidc, however when we try to start version control there are no available buckets. Also if we try and import from the bucket when creating a process gr

Re: opensearch/elasticsearch with pagination

2023-08-21 Thread Richard Beare
I discovered the jsonqueryelasticsearch just before your message arrived, and it looks to be returning aggregates only if I set size: 0, so I think that is the place to start for this problem. On Mon, Aug 21, 2023 at 5:41 PM Chris Sampson wrote: > Using SearchElasticsearch for just an aggregatio

Re: opensearch/elasticsearch with pagination

2023-08-21 Thread Chris Sampson
Using SearchElasticsearch for just an aggregation feels like it might not be the right choice (maybe look at JsonQueryElasticsearch instead), or are the dates constantly changing, i.e. new data is always appearing, so you want to keep triggering the flow, and you want to use this as the starting

Re: opensearch/elasticsearch with pagination

2023-08-21 Thread Richard Beare
I'm repeatedly selecting the min and max date stamp using a SearchElasticSearch processor to begin creating the query generator. The query looks like: { "size" : 0, "aggs" : { "newest" : { "max" : { "field" : "Visit_DateTime"}}, "oldest" : { "min" : { "field" : "Visit_DateTime"}} } } This seems t