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
-
Click
Data
in the top navigation bar. -
Click
Dataset Providers
in the left navigation bar. -
Click
Create Provider
. -
In the
ID
field entersbx_hibp_<your first name>
. -
In the
Description
field enter:Search Sandbox HIBP Provider
-
For the
Dataset provider type
selectGeneric HTTP API
. -
In the
Name
field enterbreaches
. -
In the
URL
field enter:https://haveibeenpwned.com/api/v3/breaches
-
Click
Save
.