> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search

Returns search hits that match the query defined in the request.

## Parameters

<div className="integrations-table">
  | Parameter    | Description                                                                                                                                             |
  | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Query        | Query in the Lucene query string syntax.<br />You can use the q parameter to run a query parameter search.                                              |
  | Size         | Defines the number of hits to return. Defaults to 10.                                                                                                   |
  | Sort         | A comma-separated list of `<field>:<direction>` pairs to sort by.                                                                                       |
  | Target Index | Comma-separated list of data streams, indices, and aliases to search. Supports wildcards (\*). To search all data streams and indices, use \* or \_all. |
</div>

## Workflow Library Example

[Send Elasticsearch Search Hits to Slack](https://library.blinkops.com/workflows/send-elasticsearch-search-hits-to-slack)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/send-elasticsearch-search-hits-to-slack/canvas" />
</div>
