Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sample code submission] - Get the logs from an Algolia instance. #47

Open
4 of 5 tasks
MiguelAngelGarciaGomez opened this issue Sep 1, 2022 · 0 comments
Open
4 of 5 tasks
Assignees
Labels
Submission Submission to Code Exchange

Comments

@MiguelAngelGarciaGomez
Copy link

What's the use case for the sample?
In the API monitoring UI you can check the requests that have been done against your application. With the "Search API Logs" option you are able too see the requests that have been made, but it's difficult to filter them by a particular date and to know how many calls have been made between that date and now.
You can check more information about this in the following conversation: https://discourse.algolia.com/t/get-the-search-api-logs/16026/2

What's the programming language?
JavaScript.

Sample GitHub URL:
https://github.com/MiguelAngelGarciaGomez/algolia-get-logs

Author Information (please fill out):

  • Author name: Miguel Ángel García Gómez
  • Author GitHub Handle: github.com/MiguelAngelGarciaGomez
  • Organization name (if submitted on behalf of a company): Adaptavist
  • Organization GitHub URL(if submitted on behalf of a company): https://github.com/Adaptavist

Dependencies:
algoliasearch and dotenv.

Checklist:

Please check every part of this checklist for us to process your request. You can do this by marking them with [x] instead of [ ].

  • My sample application is open source and has a permissive license such as MIT or Apache-2
  • There are no known security vulnerabilities and I'm following security best practices
  • I've read Algolia's best practices coding guidelines for my sample
  • I agree and adhere to the Code of Conduct
  • The sample has been authored by me / or my organization and will be kept up-to-date. If the sample will not longer be maintained, I'll notify this project.

Notes:
I'm not dure about the first checklist point, as the project I created is based on https://github.com/algolia-samples/api-clients-quickstarts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Submission Submission to Code Exchange
Projects
None yet
Development

No branches or pull requests

2 participants