Getting Started
Create a logger with Glue auth, then write raw bytes to it.
1curl -X POST "https://api.hola.cloud/v1/loggers" \
2 -H "X-Glue-Authentication: YOUR_GLUE_TOKEN" \
3 -H "Content-Type: application/json" \
4 -d '{"name":"app"}'
1curl -X POST "https://api.hola.cloud/v1/loggers/logger_xyz789/ingest" \
2 -H "Api-Key: LOGGER_API_KEY" \
3 -H "Api-Secret: LOGGER_API_SECRET" \
4 --data-binary $'hello\nerror line\n'
Response:
1{ "n": 17 }
Filter with regex:
1curl "https://api.hola.cloud/v1/loggers/logger_xyz789/filter?regex=error" \
2 -H "Api-Key: LOGGER_API_KEY" \
3 -H "Api-Secret: LOGGER_API_SECRET"
Comments