pg_id_string command is fail to execute
kunalv89 opened this issue · comments
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.
@InsightByte can you please here
Hi, what is the OS you running on
It seems that the resource endpoint is not returning
@kunalv89 did you find a solution?