How to filter by tags for New Relic importing? #2004
Unanswered
amauch-adobe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How can you filter the import of synthetic monitors from new relic by their Tags?
I have tried different ways to attempt this and either I get all of the monitors being imported or zero (0) monitors being imported.
I have tried it in these various ways, please note
<tag key>
,<tag value>
are replaced with a string:terraformer import newrelic -r synthetics --api-key="$NEW_RELIC_API_KEY" --account-id="$NEW_RELIC_ACCOUNT_ID" --filter=tags=<tag_key>:<tag value>
terraformer import newrelic -r synthetics --api-key="$NEW_RELIC_API_KEY" --account-id="$NEW_RELIC_ACCOUNT_ID" -f="Name=tags.<tag_key>=<tag value>"
terraformer import newrelic -r synthetics --api-key="$NEW_RELIC_API_KEY" --account-id="$NEW_RELIC_ACCOUNT_ID" -f="Name=tags.<tag_key>:<tag value>
terraformer import newrelic -r synthetics --api-key="$NEW_RELIC_API_KEY" --account-id="$NEW_RELIC_ACCOUNT_ID" -f="Name=tags.<tag_key>.<tag value>
.... and so forth.
Any help with this would be greatly appreciated, since there doesn't seem to be much documentation anywhere other than from the '--help' usage that only shows filtering dashboards by id.
Beta Was this translation helpful? Give feedback.
All reactions