Error
- mwversion: undefined
- reqId: undefined
- Find reqId in Logstash
- Find normalized_message in Logstash
'.event.user_variant' should be string
'.event.user_variant' should be string
It looks like this was resolved by T281727: Rename GrowthExperiments default user variant to 'control'.
Something somewhere must be very broken if the errors were really caused by the variant string being called "null".
Untagging from prod error for now as I don't think we consider EventGate validation warnings as production errors currently. But, assuming it isn't caused by end-users feeding fake data, it may very well still be a bug and should still be taken seriously as other bugs. Just not in the category of "prod error" :)
There are 15 total errors for .event.user_variant' should be string during May05-May10/2021.
Since the task description doesn't have details, I pasted below the details below:
$schema
/error/1.0.0
@timestamp
May 10, 2021 @ 21:31:49.232
@version
1
_id
9hoxWHkBWKe2MTdRfzTj
_index
logstash-2021.05.10
_score
-
_type
_doc
emitter_id
eventgate-analytics-external-production
errored_schema_uri
/analytics/legacy/homepagemodule/1.1.0
errored_stream_name
eventlogging_HomepageModule
message
'.event.user_variant' should be string
meta.domain
fr.wikipedia.org
meta.dt
2021-05-10T21:31:48.185Z
meta.id
6bda7937-aa57-4940-867b-e9002897f75a
meta.request_id
a1768117-b686-499a-aaef-8c4140ed95b2
meta.stream
eventgate-analytics-external.error.validation
meta.uri
unknown
normalized_message
'.event.user_variant' should be string
raw_event
{"event":{"action":"impression","action_data":"mentorEditCount=14856;mentorLastActive=20210510182321;archivedQuestions=0;unarchivedQuestions=0","user_id":4080815,"user_editcount":0,"user_variant":null,"module":"mentorship","is_mobile":false,"mode":"desktop","homepage_pageview_token":"6jsofig8kqr4o34mkvdsl14m22qdrrb9"},"schema":"HomepageModule","webHost":"fr.wikipedia.org","wiki":"frwiki","$schema":"/analytics/legacy/homepagemodule/1.1.0","client_dt":"2021-05-10T21:31:18.137Z","meta":{"stream":"eventlogging_HomepageModule","domain":"fr.wikipedia.org","id":"e19b607f-15e1-465d-8e9f-11b55070f14a","dt":"2021-05-10T21:31:48.181Z","request_id":"a1768117-b686-499a-aaef-8c4140ed95b2"},"dt":"2021-05-10T21:31:48.181Z","http":{"request_headers":{"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:87.0) Gecko/20100101 Firefox/87.0"}}}
tags
input-kafka-eventgate-analytics-external-validation-error-eqiad, kafka, es, eventgate, normalized_message_untrimmed
type
eventgate_validation_error