Although there are many fields that are relevant to signals, this topic describes which fields are required for each type of signal. Without these fields, reports and dashboards within App Insights may not function as expected.

Signal Types

There are five types of signals:
  • Annotation. Annotation signals are generated when a user bookmarks, likes, or comments on a document. Annotation signals are likewise generated when the user removes a bookmark, like, or comment.
    Annotation signals are generated by App Studio. If you are not using App Studio, this type of signal is not relevant to your search application.
  • Click. Click signals are generated when a user clicks on a page element that is being monitored by the search app. Click signals are sent from the search app to Fusion.
  • Login. Login signals record information about specific users when they log in to an application. This includes a time stamp and various session details.
  • Request. A request signal is generated by a front-end search app and captures the raw user query and other contextual information about a user and their journey through the search app.
  • Response. Response signals are automatically generated by a query pipeline when the signals feature is enabled for a collection.
    Important Because response signals and their fields are automatically generated, this topic does not cover what response signal fields are required.

Required Fields

Signals

The following table describes which fields are required for annotation, click, login, and request signals.
Requests (or queries) can also require additional, available user data for the search.
FieldTypeDescriptionExampleRequired
idstringUnique ID for the signal.b0ee5307-6223-4150-ac5a-d0d8113aa480✅ Annotation
✅ Click
✅ Login
✅ Request
doc_idstringProduct ID or Item ID of the clicked result.NMDDV✘ Annotation
✅ Click
✘ Login
✘ Request
datetimestampTimestamp of when the signal was generated. This timestamp follows Unix epoch time formatting.1518717749409✅ Annotation
✅ Click
✅ Login
✅ Request
user_idstringUnique ID for the user that generated the signal.admin✅ Annotation
✅ Click
✅ Login
✅ Request
sessionstringUnique ID for the user’s browser session.ef4e00cd-91bb-45b4-be80-e81f9f9c5b27✅ Annotation
✅ Click
✅ Login
✅ Request
hoststringHost name of the server which is hosting the app that is generating the signal.x.y.z✅ Annotation
✅ Click
✅ Login
✅ Request
ip_addressstringIP address of the user that generated the signal.80.6.99.35✅ Annotation
✅ Click
✅ Login
✅ Request
app_idstringName of the application that is generating the signal.myApp✅ Annotation
✅ Click
✅ Login
✅ Request
annotation_typestring

Type of the annotation signal, either “comment”, “bookmark”, or “like”. Required fields for “comment”:
comment. The comment itself.
target. The target that the comment refers to.
Required fields for “bookmark”:
title. The bookmark title.
url. The bookmark url.
Required fields for “like”:
-• -

bookmark✅ Annotation
✘ Click
✘ Login
✘ Request
querystringTerms of the query.ipad✘ Annotation
✅ Click
✘ Login
✅ Request
fusion_query_idstringUnique ID for the query that is automatically generated from the Fusion response signal.ABkaEA11✘ Annotation
✅ Click
✘ Login
✘ Request
filterarray of stringList of filters associated with the query, which in turn is associated with signal.[“type/tablet”,”category/electronics”]✘ Annotation
✅ Click
✘ Login
✅ Request
ctypestringType of click.result✘ Annotation
✅ Click
✘ Login
✘ Request
res_posnumberPosition of the clicked result within the list of results.3✘ Annotation
✅ Click
✘ Login
✘ Request
res_offsetnumberResult page.2✘ Annotation
✅ Click
✘ Login
✘ Request
urlstringURL of the page that the signal originated from.http://localhost:8080/products/search✘ Annotation
✘ Click
✘ Login
✅ Request
pathstringURL path of the page that the signal originated from./search✘ Annotation
✘ Click
✘ Login
✅ Request
page_titlestringTitle of the page that the signal originated from.Search Page✘ Annotation
✘ Click
✘ Login
✅ Request

Insights Reports

The table below describes which fields are required to generate the various reports within App Insights:
ReportSignal Types UsedRequired FieldTypeDescriptionExample
Search queries✘ Annotation
✅ Click
✘ Login
✅ Request
✅ Response
querystringTerms of the query.physics
Facets used✘ Annotation
✘ Click
✘ Login
✅ Request
✘ Response
filter_fieldarray of stringList of filters associated with the query, which in turn is associated with signal.[“categories_s”]
Facet filters applied✘ Annotation
✘ Click
✘ Login
✅ Request
✘ Response
filterarray of stringList of applied filters associated with the query, which in turn is associated with signal.[“categories_s/math.OA”]
Application servers✘ Annotation
✅ Click
✘ Login
✅ Request
✘ Response
hoststringHost name of the server that is hosting the app, which in turn is generating the signal.lucidworks
Response times✘ Annotation
✘ Click
✘ Login
✘ Request
✅ Response
timenumberResponse time (in milliseconds).17
URLs clicked✘ Annotation
✅ Click
✘ Login
✘ Request
✘ Response
urlstringURL of the page that was selected from the search results. This typically results from a click signal.http://arxiv.org/pdf/astro-ph/0611688v1
Search pages✘ Annotation
✘ Click
✘ Login
✅ Request
✘ Response
page_titlestringTitle of the page that the signal originated from.Search Preview
Search platforms✘ Annotation
✅ Click
✘ Login
✅ Request
✅ Response
platformstringName of the search platform.fusion
Visitor countries✘ Annotation
✅ Click
✘ Login
✅ Request
✘ Response
geo_country_namestringOriginating country of the user.United States
Visitor cities✘ Annotation
✅ Click
✘ Login
✅ Request
✘ Response
geo_city_namestringOriginating city of the user.San Francisco
Browsers✘ Annotation
✅ Click
✘ Login
✅ Request
✘ Response
browser_namestringName of the browser that generated the signal.Firefox
Operating System✘ Annotation
✅ Click
✘ Login
✅ Request
✘ Response
os_namestringName of the operating system used by the user.Ubuntu
Device types✘ Annotation
✅ Click
✘ Login
✅ Request
✘ Response
os_devicestringType of the device used by the user.Computer
Websites people are coming from✘ Annotation
✅ Click
✘ Login
✘ Request
✘ Response
referrer_domainstringURL of the page that the signal originated from.http://www.google.com
Users✘ Annotation
✅ Click
✘ Login
✅ Request
✘ Response
user_idstringUnique ID for the user that generated the signal.admin
User domainsN/AdomainstringDomain of the user that generated the signal.lucidworks.com
Types of event✅ Annotation
✅ Click
✅ Login
✅ Request
✅ Response
typestringType of the signal.click
Head Tail analysis uses different fields depending on signal type. This report is populated by running a head tail job in Managed Fusion. With a collection called foo, for example, run the foo_head_tail job.
Signal Types UsedRequired FieldType
✘ Annotation
✅ Clicktypestring
✅ Clickquerystring
✘ Login
✘ Request
✅ Responsecount_inumber

Fusion jobs

The following tables specify required fields for specific Fusion jobs: Job: click_signal_aggr
FieldRequired
user_idno
queryyes
doc_idyes
count_iyes
fusion_query_iddepends
typeyes
session_idoptional
idN/A
res_offsetoptional
res_posoptional
filtersoptional
type = responsedepends
dependencyN/A
Job: phrase_extraction
FieldRequired
user_idno
queryyes
doc_idno
count_iyes
fusion_query_idno
typeyes
session_idN/A
idN/A
res_offsetN/A
res_posN/A
filtersN/A
type = responseN/A
dependencyN/A
Job: spell_correction
FieldRequired
user_idno
queryyes
doc_idno
count_iyes
fusion_query_idno
typeyes
session_idN/A
idN/A
res_offsetN/A
res_posN/A
filtersN/A
type = responseN/A
dependencyN/A
Job: synonym_detection
FieldRequired
user_idno
queryyes
doc_idyes
count_iyes
fusion_query_idno
typeyes
session_idN/A
idN/A
res_offsetN/A
res_posN/A
filtersN/A
type = responseN/A
dependencyphrase, misspelling
Job: head_tail
FieldRequired
user_idno
queryyes
doc_idyes
count_iyes
fusion_query_idno
typeyes
session_idN/A
idN/A
res_offsetN/A
res_posN/A
filtersN/A
type = responseN/A
dependencyN/A
Job: _user_item_prefs_agg
FieldRequired
user_idyes
queryno
doc_idyes
count_iyes
fusion_query_idno
typeyes
session_idyes
idyes
res_offsetyes
res_posyes
filtersyes
type = responseyes
dependencyN/A