The New Relic NRQL Command for Splunk app contains the Splunk Generating Command "| nrql" which queries New Relic and generates Splunk reports from the query results returned.
For documentation, please see: https://github.com/dmanojbaba/splunk-command-newrelic-nrql/
| nrql connection=<string> query=<string> (output=_raw)?
[<name>] apiEndpoint = <string> accountId = <string> queryKey = <string>
[prod-us-account] apiEndpoint = insights-api.newrelic.com accountId = 1111111 queryKey = y0ur_ins1ghts_qu3ry_k3y_h3re [test-eu-account] apiEndpoint = insights-api.eu.newrelic.com accountId = 1234567 queryKey = an0ther_ins1ghts_qu3ry_k3y_h3re
nrqlcommand is a generating command and should be used as the first command in the search.
connectionargument is the name of a configured New Relic connection in
queryargument is a valid NRQL query.
output=_raw(optional) argument is to output the returned data without any formatting.
# Query New Relic 'prod-us-account' and return results | nrql connection="prod-us-account" query="select * from PageView" # Query New Relic 'test-eu-account' and return results | nrql connection="test-eu-account" query="select count(*) as TotalTransactions from Transaction" # Query New Relic 'prod-us-account' and combine the power of Splunk SPL | nrql connection="prod-us-account" query="select count(*) from PageView facet deviceType since 1 day ago timeseries 1 hour" | eval _time=strptime(beginTimeSeconds,"%s") | xyseries _time, deviceType, count
Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.
As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.