steampipe plugin install ipstack

Table: ipstack_my_ip - Query IPStack My IP using SQL

IPStack is a service that provides geolocation and IP intelligence data. It allows you to identify user location, timezone, and ISP information using IP addresses. The IPStack service provides detailed and accurate data that can be used for a variety of purposes such as content personalization, fraud prevention, and network security.

Table Usage Guide

The ipstack_my_ip table provides insights into the geolocation details of your IP address within IPStack. As a network engineer or security analyst, explore IP-specific details through this table, including location, ISP, and timezone. Utilize it to uncover information about your IP, such as its geolocation, the associated timezone, and the ISP details.

Examples

Get information about your current IP

Explore your current IP address details to understand its geographical location, ISP, and other related information. This can be useful for troubleshooting network issues or for security monitoring purposes.

select
*
from
ipstack_my_ip;
select
*
from
ipstack_my_ip;

Schema for ipstack_my_ip

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
asnbigintAutonomous System Number associated with the IP.
citytextName of the city associated with the IP.
continent_codetext2-letter continent code associated with the IP.
continent_nametextName of the continent associated with the IP.
country_codetext2-letter country code associated with the IP.
country_nametextname of the country associated with the IP.
crawler_nametextName of the crawler the IP is associated with. Requires security to be enabled.
crawler_typetextType of crawler the IP is associated with. Requires security to be enabled.
currency_codetext3-letter code of the main currency associated with the IP.
currency_nametextName of the given currency.
currency_pluraltextPlural name of the given currency.
currency_symboltextSymbol letter of the given currency.
currency_symbol_nativetextNative symbol letter of the given currency.
hostnametextHostname associated with the IP address, if available.
ipinetRequested IP address.
is_crawlerbooleanTrue or false depending on whether or not the given IP is associated with a crawler. Requires security to be enabled.
is_proxybooleanTrue or false depending on whether or not the given IP is associated with a proxy. Requires security to be enabled.
is_torbooleanTrue or false depending on whether or not the given IP is associated with the anonymous Tor system. Requires security to be enabled.
isptextName of the ISP associated with the IP.
latitudedouble precisionLatitude value associated with the IP.
location_calling_codetextCalling / dial code of the country associated with the IP. (e.g. 351) for Portugal.
location_capitaltextCapital city of the country associated with the IP.
location_country_flag_emojitextEmoji icon for the flag of the country associated with the IP.
location_country_flag_emoji_unicodetextUnicode value of the emoji icon for the flag of the country associated with the IP (e.g. U+1F1F5 U+1F1F9 for the Portuguese flag).
location_country_flag_linktextHTTP URL leading to an SVG-flag icon for the country associated with the IP.
location_geoname_idbigintUnique geoname identifier in accordance with the Geonames Registry.
location_is_eubooleanTrue or false depending on whether or not the county associated with the IP is in the European Union.
location_languagesjsonbObject containing one or multiple sub-objects per language spoken in the country associated with the IP.
longitudedouble precisionLongitude value associated with the IP.
proxy_typetextType of proxy the IP is associated with. Requires security to be enabled.
region_codetextRegion code of the region associated with the IP (e.g. CA for California).
region_nametextName of the region associated with the IP.
threat_leveltextType of threat level the IP is associated with. Requires security to be enabled.
threat_typesjsonbObject containing all threat types associated with the IP. Requires security to be enabled.
timezone_codetextUniversal code of the given time zone.
timezone_current_timetimestamp with time zoneCurrent date and time in the location associated with the IP (e.g. 2018-03-29T22:31:27-07:00).
timezone_gmt_offsetbigintGMT offset of the given time zone in seconds (e.g. -25200 for PST's -7h GMT offset).
timezone_idtextID of the time zone associated with the IP (e.g. America/Los_Angeles for PST).
timezone_is_daylight_savingbooleanTrue or false depending on whether or not the given time zone is considered daylight saving time.
typetextIP address type IPv4 or IPv6.
ziptextZIP code associated with the IP.

Export

This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.

You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh script:

/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- ipstack

You can pass the configuration to the command with the --config argument:

steampipe_export_ipstack --config '<your_config>' ipstack_my_ip