Skip to main content

Searching APIs

Now, by show of hands, how many of us have been tied to a technology that couldn't search some of our data because they didn't have a native integration? 🙋‍♂️ 🙋

Now that you've got Cribl Search's Generic API dataset provider those days are done. Let's take a look at it in action by searching the HaveIBeenPwned public breaches api.

Create a Generic API Provider

First we need to create a (say it with me class) Datset Provider to connect to the HaveIBeenPwned API

important
  1. Click Data in the top navigation bar.

  2. Click Dataset Providers in the left navigation bar.

  3. Click Create Provider.

  4. In the ID field enter sbx_hibp_<your first name>.

  5. In the Description field enter:

    Search Sandbox HIBP Provider
  6. For the Dataset provider type select Generic HTTP API.

  7. In the Name field enter breaches.

  8. In the URL field enter:

    https://haveibeenpwned.com/api/v3/breaches
  9. Click Save.