
ipstack Plugin for Steampipe
Use SQL to query IP address information including geolocation and more from ipstack.
Quick start
Install the plugin with Steampipe:
steampipe plugin install ipstack
Run a query:
select
ip,
country_code,
region_name,
latitude
from
ipstack_ip
where
ip = '99.84.45.75';
> select ip, country_code, region_name, latitude from ipstack_ip where ip = '99.84.45.75' ;
+-------------+--------------+-------------+--------------------+
| ip | country_code | region_name | latitude |
+-------------+--------------+-------------+--------------------+
| 99.84.45.75 | US | New Jersey | 40.738731384277344 |
+-------------+--------------+-------------+--------------------+
Developing
Prerequisites:
Clone:
git clone https://github.com/turbot/steampipe-plugin-ipstack.git
cd steampipe-plugin-ipstack
Build, which automatically installs the new version to your ~/.steampipe/plugins directory:
make
Configure the plugin:
cp config/* ~/.steampipe/config
vi ~/.steampipe/config/ipstack.spc
Try it!
steampipe query
> .inspect ipstack
Further reading:
Contributing
Please see the contribution guidelines and our code of conduct. All contributions are subject to the Apache 2.0 open source license.
help wanted issues: