Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Unable to get insights 'type' property

nrql

#1

Hello,

I am running a query: SELECT type FROM Project

And ‘type’ is not yielding any results. We are definitely sending the ‘type’ property but it shows up as ‘No Value’.

Is ‘type’ a keyword in NewRelic which is why we cannot query it?

Can you please help?


#2

@sdareshani - I looked at your account and I do not see the Project event type. Can you confirm how you are sending these events?


#3

Thanks for the response @RyanVeitch

Here is the exact call:

SELECT type FROM Elevate


#4

Apologies @sdareshani I didn’t notice in my earlier reply but you were right in your initial assessment. type is a reserved word when it comes to Insights custom events. Could you be able to configure a different attribute name?

You can see the list of reserved words here: https://docs.newrelic.com/docs/insights/insights-data-sources/custom-data/insights-custom-data-requirements-limits#reserved-words


#5

@RyanVeitch Ok awesome thanks for confirming. I’ll try a different name and report back


#6

Thanks @sdareshani - Let us know how that goes :smiley:


#7

Hello @RyanVeitch,

Is there a way we can avoid the ‘type’ keyword issue? Because we are piping our events through Segment, and it’s in their API to send the “type”: “screen” event. We require this for Google Analytics.


#8

Hey @sdareshani - I’m afraid not, the type event name is reserved.

Is it possible for you to collect the data from Segment and update the type name to something else? like segmentType and then push that to Insights?


#9

@RyanVeitch We are currently discussing with Segment Support on what our options are. Thanks


#10

Let us know if we can help any further @sdareshani :smiley: