Troubleshooting Postman Request for ZincObserve
TLDR Juan experienced a "bad formarted" error using Postman with ZincObserve. vvv suggested checking headers and input. Prabhat advised using ZincSearch for non-log data.

May 09, 2023 (3 weeks ago)
Juan
05:02 PMSomeone can tell me that i do wrong
Thank you so much
vvv
05:22 PMThat gibberish in the response is indeed confusing. Maybe a look at the Headers can provide some clues on why you are seeing those bytes?
vvv
05:22 PMcargo run
. This is what I got:vvv
05:25 PM/_json
) expects an array of objects as its input.After I changed the input accordingly, the request succeeded:
Juan
05:30 PMvvv
05:31 PMā¢
/_json
API endpoint ⢠the line that fails ā we can see here that ZincObserve tries to parse JSON input into a
Vec
. This fails unless the input is a JSON array.Juan
05:32 PM
Juan
05:41 PMPrabhat
10:25 PMZincObserve
Similar Threads
_search API Authentication Issue in Zinc Cloud
Ivan encountered an authentication error while using the _search API. Ashish clarified API limitations and Prabhat suggested using ZincSearch for their use case.
Troubleshooting Zincobserve Upload Error
Simon encountered a 500 error when uploading logs to Zincobserve. Hengfei suggested using `--data-binary "@demo.log"` instead of `-d`, which resolved the issue.
Troubleshooting ZincCloud API for Search Requests
Edicius is having issues making Search API requests using ZincCloud, and Prabhat informed that it is only possible with ingestion API endpoints but will be available soon.
Issues with Timestamp Format in Zinc-Observe API Query
Rex faced an issue with the timestamp format in Zinc-Observe API query. Hengfei pointed out that start and end times should be in i64 and in microseconds as per the search document.

Integrating ZincObserver and Resolving Log Issues
sparrow faced issues with ZincObserver integration, log filtering, and missing logs. Ashish and Hengfei provided solutions, including using str_match and an updated image. A future release will provide more error responses for ingestion.
