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)
Someone can tell me that i do wrong
Thank you so much
That gibberish in the response is indeed confusing. Maybe a look at the Headers can provide some clues on why you are seeing those bytes?
cargo run. This is what I got:
/_json) expects an array of objects as its input.
After I changed the input accordingly, the request succeeded:
• 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.
_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.