Tail Search Command - Documentation for Bmc Truesight It Data Analytics 11.3

This search command provides the last N number of search results. When you run this command, the events that were indexed last (most recently) are displayed in ascending order.

You can specify a limit in the syntax to return the maximum number (N) of search results. If you run this command without specifying a limit, by default the product returns the first 10 results.

This topic contains the following information:

For a list of all search commands, see Search commands.

Related topics

Syntax

tail N

OR

tail limit=<integer>

In the preceding syntax, N or <integer> refers to an integer value that indicates the maximum number of records that you want to see.

Short examples

Example 1: Return the last 10 records.

... | tail 

Example 2: Return the last 20 records.

... | tail limit=20

Example 2: Return  the last 2 records.

... | tail 2

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest