Member since
02-16-2017
1
Post
0
Kudos Received
0
Solutions
02-16-2017
10:48 AM
Hi, I am having problems using the Navigator API for audits. I'm using this documentation as a reference for how I should write the curl, when using version V9. curl http://Navigator_Metadata_Server_host:port/api/v9/audits/?query=service%3D%3Dhive&startTime=1431025200000&endTime=1431032400000\
&limit=5&offset=0&format=JSON&attachment=false -X GET -u username:password This is my resulting query: curl -X GET -u user:pass https://our_navigator_metdata_server:7187/api/v9/audits/?query=service%3D%3Dhive&startTime=1487160000000&endTime=1487163600000&limit=5&offset=0&format=JSON&attachment=true Result: No matter how large a distance I make between start- and endTime I end up getting the same error message: "message" : "Invalid period specified: 'endTime' must be later than 'startTime'." - I have verified that the address and port that I'm using is correct - I have verified that my startTime is less than endTime Question: Can anybody see what is wrong here, or knows why it keeps returning the same error message? Thanks for helping me out, Best Rachel
... View more
Labels:
- Labels:
-
Cloudera Manager
-
Cloudera Navigator