Hi All,
I am trying to use “JSON path from HTTP API” or any other method to get API data that returns A JSON struct that has an array data similer to below:
JSON data can be access via .json file or via the HTTP API
[ {
“Role”: “Skype for Business Administrator”,
“DisplayName”: “Jonathon”,
“ObjectType”: “User”,
“AccountEnabled”: true,
“UserPrincipaName”: “”,
“PasswordPolicies”: “None”,
“HomePage”: null
},
{
“Role”: “Skype for Business Administrator”,
“DisplayName”: “Adam”,
“ObjectType”: “User”,
“AccountEnabled”: true,
“UserPrincipaName”: “”,
“PasswordPolicies”: “None”,
“HomePage”: null
}
]
Description of steps you’ve taken to attempt to solve the issue
I used the https://jsonpath.com/ to check on the JSONPath Syntax and it returns all nesesary data, but when using “JSON path from HTTP API”, i only get the first recoard.
Can someone please give me some ideas how to get .json file or .json API data into Graylog