- Enterprise Search Guide: other versions:
- Getting started
- Prerequisites
- Ingestion
- Web crawler
- Connectors
- Native connectors
- Connector clients
- Elastic connector framework
- Workplace Search connectors
- Using connectors
- Known issues
- Troubleshooting
- Document level security
- Logs
- Security
- Content syncs
- Sync rules
- Content extraction
- Reference: Azure Blob Storage
- Reference: Confluence
- Reference: Dropbox
- Reference: GitHub
- Reference: Gmail
- Reference: Google Cloud Storage
- Reference: Google Drive
- Reference: Jira
- Reference: Microsoft SQL
- Reference: MongoDB
- Reference: MySQL
- Reference: Network drive
- Reference: OneDrive
- Reference: Oracle
- Reference: PostgreSQL
- Reference: S3
- Reference: Salesforce
- Reference: ServiceNow
- Reference: SharePoint Online
- Reference: SharePoint Server
- Reference: Slack
- Ingestion APIs
- Ingest pipelines
- Document enrichment with ML
- ELSER text expansion
- Indices, engines, content sources
- Programming language clients
- Behavioral analytics
- Search UI
- App Search and Workplace Search
- Search Applications
- Enterprise Search server
- Run using Docker images
- Run using downloads (packages)
- Enterprise Search server known issues
- Troubleshooting
- Troubleshooting setup
- Monitoring
- Read-only mode
- Management APIs
- Monitoring APIs
- Read-only mode API
- Storage API
- Configuration
- Configuring encryption keys
- Configuring a mail service
- Configuring SSL/TLS
- Upgrading and migrating
- Upgrading self-managed deployments
- Upgrading from Enterprise Search 7.x
- Upgrading from Enterprise Search 7.11 and earlier
- Migrating from App Search on Elastic Cloud
- Migrating from App Search on Swiftype.com
- Migrating from self-managed App Search
- Logs and logging
- Known issues
- Troubleshooting
- Help, support, and feedback
- Release notes
- 8.10.4 release notes
- 8.10.3 release notes
- 8.10.2 release notes
- 8.10.1 release notes
- 8.10.0 release notes
- 8.9.2 release notes
- 8.9.1 release notes
- 8.9.0 release notes
- 8.8.2 release notes
- 8.8.1 release notes
- 8.8.0 release notes
- 8.7.1 release notes
- 8.7.0 release notes
- 8.6.2 release notes
- 8.6.1 release notes
- 8.6.0 release notes
- 8.5.3 release notes
- 8.5.2 release notes
- 8.5.1 release notes
- 8.5.0 release notes
- 8.4.3 release notes
- 8.4.2 release notes
- 8.4.1 release notes
- 8.4.0 release notes
- 8.3.3 release notes
- 8.3.2 release notes
- 8.3.1 release notes
- 8.3.0 release notes
- 8.2.3 release notes
- 8.2.2 release notes
- 8.2.1 release notes
- 8.2.0 release notes
- 8.1.3 release notes
- 8.1.2 release notes
- 8.1.1 release notes
- 8.1.0 release notes
- 8.0.1 release notes
- 8.0.0 release notes
- 8.0.0-rc2 release notes
- 8.0.0-rc1 release notes
- 8.0.0-beta1 release notes
- 8.0.0-alpha2 release notes
- 8.0.0-alpha1 release notes
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Analytics events reference
editAnalytics events reference
editBehavioral analytics logs events using the Elastic Common Schema, including a custom field set for analytics events. Refer to examples of the full data objects that are logged.
Fields overview
editCommon event fields
edit-
@timestamp
- Timestamp of the event.
-
event.action
-
The type of event. Possible values are
search
,search_click
, andpageview
. -
event.source
-
The source of the event. Possible values are
client
andserver
. -
session.id
- A unique identifier for the session.
-
user.id
- A unique identifier for the user.
-
_id
- The document ID.
-
_index
- The index name.
-
_score
- The score of the document.
Search event fields
edit-
search.filters
- The filters applied to the search query.
-
search.query
- The search query.
-
search.results.items.document.id
- The ID of the document in the search results.
-
search.results.items.document.index
- The index of the document in the search results.
-
search.results.items.page.url.domain
- The URL domain of the page in the search results.
-
search.results.items.page.url.original
- The original URL of the page in the search results.
-
search.results.items.page.url.path
- The URL path of the page in the search results.
-
search.results.items.page.url.scheme
- The URL scheme of the page in the search results.
-
search.results.total_results
- The total number of results returned by the search query.
-
search.search_application
- The search application used to perform the search query.
-
search.sort.name
- The name of the sort applied to the search query.
Search click event fields
edit-
document.id
- The ID of the document that was clicked.
-
document.index
- The index containing the document that was clicked.
-
page.url.domain
- The URL domain of the page that was clicked.
-
page.url.original
- The original URL of the page that was clicked.
-
page.url.path
- The URL path of the page that was clicked.
-
page.url.scheme
- The URL scheme of the page that was clicked.
-
search.filters
- The filters applied to the search query.
-
search.query
- The search query.
-
search.results.items.document.id
- The ID of the document in the search results.
-
search.results.items.document.index
- The index of the document in the search results.
-
search.results.items.page.url.domain
- The URL domain of the page in the search results.
-
search.results.items.page.url.original
- The original URL of the page in the search results.
-
search.results.items.page.url.path
- The URL path of the page in the search results.
-
search.results.items.page.url.scheme
- The URL scheme of the page in the search results.
-
search.results.total_results
- The total number of results returned by the search query.
-
search.search_application
- The search application used to perform the search query.
-
search.sort.name
- The name of the sort applied to the search query.
-
session.location.country_iso_code
- The ISO code of the country where the search click occurred.
-
session.location.country_name
- The name of the country where the search click occurred.
Pageview event fields
edit-
document.id
- The ID of the document that was viewed.
-
document.index
- The index containing the document that was viewed.
-
page.referrer.domain
- The URL domain of the page that referred to the viewed page.
-
page.referrer.original
- The original URL of the page that referred to the viewed page.
-
page.referrer.path
- The path of the page that referred to the viewed page.
-
page.referrer.scheme
- The URL scheme of the page that referred to the viewed page.
-
page.title
- The title of the viewed page.
-
page.url.domain
- The URL domain of the viewed page.
-
page.url.original
- The original URL of the viewed page.
-
page.url.path
- The URL path of the viewed page.
-
page.url.scheme
- The URL scheme of the viewed page.
-
session.location.country_iso_code
- The ISO code of the country where the pageview occurred.
-
session.location.country_name
- The name of the country where the pageview occurred.
Examples
editExpand to see a full example of a search
event data object:
{ "@timestamp": [ "2023-05-16T12:52:29.003Z" ], "event.action": [ "search" ], "event.source": [ "client" ], "search.filters": [ { "color": [ "silver" ], "brand": [ "Robel, Klocko and Ziemann", "McClure, Marks and Mertz" ] } ], "search.query": [ "transformation" ], "search.results.items.document.id": [ "045a164b-229e-40b5-ba66-b2ebabd2a251" ], "search.results.items.document.index": [ "products" ], "search.results.items.page.url.domain": [ "fancy-overcoat.org" ], "search.results.items.page.url.original": [ "http://fancy-overcoat.org/happy/pancakes/deals" ], "search.results.items.page.url.path": [ "/happy/pancakes/deals" ], "search.results.items.page.url.scheme": [ "http" ], "search.results.total_results": [ 67 ], "search.search_application": [ "search-ui" ], "search.sort.name": [ "relevance" ], "session.id": [ "2bc31b08-d443-4b7a-81ea-65edf3dd82e7" ], "user.id": [ "42704a4b-692b-4654-bb67-a65eb0c72f15" ], "_id": "y3IBBogBWHKTU-4a543S", "_index": ".ds-behavioral_analytics-events-website-2023.05.10-000001", "_score": null }
Expand to see a full example of a search_click
event data object:
{ "@timestamp": [ "2023-05-16T12:22:23.468Z" ], "document.id": [ "38cca784-109a-4ea0-a4e8-60c3be667ffd" ], "document.index": [ "products" ], "event.action": [ "search_click" ], "event.source": [ "client" ], "page.url.domain": [ "unfurnished-appartments" ], "page.url.original": [ "https://unfurnished-appartments/new/europe" ], "page.url.path": [ "/new/europe" ], "page.url.scheme": [ "https" ], "search.filters": [ { "brand": [ "McClure, Marks and Mertz", "Ondricka - Rath" ] } ], "search.query": [ "ferryboat" ], "search.results.items.document.id": [ "0c76967b-4915-446e-9b2c-b1bfb9e39e1e" ], "search.results.items.document.index": [ "products" ], "search.results.items.page.url.domain": [ "dependent-lecture.info" ], "search.results.items.page.url.original": [ "http://dependent-lecture.info/documents/additional/latest" ], "search.results.items.page.url.path": [ "/documents/additional/latest" ], "search.results.items.page.url.scheme": [ "http" ], "search.results.total_results": [ 54 ], "search.search_application": [ "search-ui" ], "search.sort.name": [ "relevance" ], "session.id": [ "9411fb93-8707-49a4-baab-cec4d6aef753" ], "session.location.country_iso_code": [ "GP" ], "session.location.country_name": [ "Guadeloupe" ], "user.id": [ "911d0c19-e713-4413-8f4c-c6c612bc37c4" ], "_id": "m8cBBogBG4-Ak0Iy7LME", "_index": ".ds-behavioral_analytics-events-website-2023.05.10-000001", "_score": null }
Expand to see a full example of a pageview
event data object:
{ "@timestamp": [ "2023-05-16T12:52:51.309Z" ], "document.id": [ "c98ppfc8-3a04-4a20-888a-f87292b31181" ], "document.index": [ "products" ], "event.action": [ "page_view" ], "event.source": [ "client" ], "page.referrer.domain": [ "happy-pancakes.name" ], "page.referrer.original": [ "https://happy-pancakes.name/magnam" ], "page.referrer.path": [ "/magnam" ], "page.referrer.scheme": [ "https" ], "page.title": [ "Super fast delivery" ], "page.url.domain": [ "happy-staircase.net" ], "page.url.original": [ "http://happy-staircase.net/quam" ], "page.url.path": [ "/quam" ], "page.url.scheme": [ "http" ], "session.id": [ "2bc31b08-d443-4b7a-81ea-65edf3dd82e7" ], "session.location.country_iso_code": [ "SN" ], "session.location.country_name": [ "Senegal" ], "user.id": [ "42704a4b-692b-4654-bb67-a65eb0c72f15" ], "_id": "zHIBBogBWHKTU-4a543S", "_index": ".ds-behavioral_analytics-events-website-2023.05.10-000001", "_score": null }
On this page
Was this helpful?
Thank you for your feedback.