WebService::DataDog::Search - Interface to Search functions in DataDog's API.
Version 1.0.3
This module allows you interact with the Search endpoint of the DataDog API.
Per DataDog: "This end point allows you to search for entities in Datadog. The currently searchable entities are: hosts, metrics"
Return a list of search results for the specified term.
my $search = $datadog->build('Search'); my $search_results = $search->retrieve( term => $search_term, facet => [ 'hosts', 'metrics' ] #optional );
Parameters:
term
Search term you want to retrieve results for.
facet
Limit search results to matches of the specified type
To install WebService::DataDog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::DataDog
CPAN shell
perl -MCPAN -e shell install WebService::DataDog
For more information on module installation, please visit the detailed CPAN module installation guide.