-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Hi, I have tried to use this but failed at 7th command, getting the error as below.
jq: error: syntax error, unexpected $end, expecting QQSTRING_TEXT or QQSTRING_INTERP_START or QQSTRING_END (Unix shell quoting issues?) at , line 1:
.resources[] | select(.name| contains ("NiFi
jq: 1 compile error
command
export pg_id_string=echo $resources| jq -c '.resources[] | select(.name| contains ("'$pg_name'")) | .identifier' | grep -v 'data|policies|operation' | grep'process-groups' | tr -d '"'``
Below are the troubleshooting steps i have done from previous issue/query.
Query hit
export resources=
curl -XGET http://$nifi_host:$nifi_port/nifi-api/resources
Response
echo $resources
P
Please suggest. Note i have the username and password for login into nifi gui.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels