Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search-Troubleshoot | Most Recent Record #94409

Merged
merged 4 commits into from
Mar 23, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/reference/troubleshooting/troubleshooting-searches.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,21 @@ GET my-index-000001/_search?filter_path=aggregations
If the field does not return any values, check the data ingestion process. The
field may have a different name.

[discrete]
[[troubleshooting-searches-latest-data]]
=== Check the latest value

For time-series data, confirm there is non-filtered data within the attempted
time range. For example, if you are trying to query the lastest data for field
`@timestamp` then you can run the following to see if the max `@timestamp`
falls within the attempted range:

[source,console]
----
GET my-index-000001/_search?sort=@timestamp:desc&size=1
----
//TEST[continued]

[discrete]
[[troubleshooting-searches-validate-explain-profile]]
=== Validate, explain, and profile queries
Expand Down