JSON path from HTTP API - not working with ? in path


(Andreaconsadoriw) #1

Hi.
i’m tring to figure out why is not working.

if i make a curl it works well

curl -XGET ‘https://myapiserver/user?authKey=user&authSecret=password

i have response in json

if i put the https://myapiserver/user?authKey=user&authSecret=password under json path from http api input i get nothing.

in json i can filter out one field with " jq ‘.credit’"

i add $.credit under json path of data to extract but nothing,
how i can debug this issue?


(Jan Doberstein) #2

Did you checked if something is visible in the Graylog server.log that gives an indication what is wrong?


(Andreaconsadoriw) #3

i fond no issue but after a graylog restart it start to work.