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

# REST APIs

export const InlineImage = ({src, alt = '', height = '2em'}) => {
  return <img src={src} alt={alt} style={{
    display: 'inline',
    verticalAlign: 'start',
    height: height,
    margin: '0'
  }} />;
};

export const LwTemplate = ({title = "Key questions to get you started", icon = "sparkles", cta = "Powered by Agent Studio", linkHref = "https://lucidworks.com/demo/?utm_source=docs&utm_medium=referral&utm_campaign=docs_cta_ai"}) => {
  const [isLoaded, setIsLoaded] = useState(false);
  useEffect(() => {
    const timer = setTimeout(() => {
      setIsLoaded(true);
    }, 500);
    return () => clearTimeout(timer);
  }, []);
  return <div className="lw-template-container">
      <Card title={title} icon={icon}>
        {isLoaded && <span dangerouslySetInnerHTML={{
    __html: `<lw-template id="a029c1a9-28be-427e-b0e1-5d918920246a"></lw-template
            >`
  }} />}
        <Link href={linkHref} className="agent-studio-link text-left text-gray-600 gap-2 dark:text-gray-400 text-sm font-medium flex flex-row items-center hover:text-primary dark:hover:text-primary-light group-hover:text-primary group-hover:dark:text-primary-light">Powered by Lucidworks Agent Studio</Link>
      </Card>
    </div>;
};

[localhost link]: http://localhost:3000/docs/4/fusion-server/reference/api/overview

[mintlify link]: https://doc.lucidworks.com/docs/4/fusion-server/reference/api/overview

[old doc.lw link]: https://doc.lucidworks.com/fusion-server/4.2/324

Fusion API services are designed to be accessed via Fusion’s authentication proxy module which is part of the Fusion UI service (default port 8764). All applications should use this method to access the API service:

```sh wrap  theme={"dark"}
https://FUSION_HOST:8764/api/<endpoint>
```

<LwTemplate />

## List all Fusion component services

The Fusion `introspect` endpoint lists basic information about endpoints and parameters for all Fusion endpoints,
including the Connectors services endpoints:

```bash wrap  theme={"dark"}
curl -u USERNAME:PASSWORD https://FUSION_HOST:8764/api/introspect
```

## Assign Fusion request IDs

Fusion automatically assigns each API request a Fusion request ID. Optionally, you can assign your own Fusion request IDs.

In this example of a search, the request does not set the Fusion request ID. Fusion assigns one, in this case, `PdNfxc1V2o`:

```bash wrap  theme={"dark"}
curl -v -u USERNAME:PASSWORD http://127.0.0.1:8764/api/apps/Movie_Search/query/Movie_Profile?q=movieId_s:202
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 8764 (#0)
* Server auth using Basic with user 'admin'
> GET /api/apps/Movie_Search/query/Movie_Profile?q=movieId_s:202 HTTP/1.1
> Host: 127.0.0.1:8764
> Authorization: Basic YWRtaW46UGFzc3dvcmQxMjM=
> User-Agent: curl/7.54.0
> Accept: */*
> fusion-request-id: Movie202
>
< HTTP/1.1 200 OK
< Server: Jetty(9.3.8.v20160314)
< fusion-request-id: PdNfxc1V2o
< Content-Type: application/json;charset=UTF-8
< x-fusion-query-id: f5KGn9KPvv
< Set-Cookie: id=c114b816-df6f-4b17-97e0-bb87ef815bf0;Path=/;HttpOnly
< Content-Length: 1707
< Connection: close
<
* Closing connection 0
(search result omitted)
```

Here, we assign the Fusion request ID `Movie202`:

```bash wrap  theme={"dark"}
curl -v -H 'fusion-request-id: Movie202' -u USERNAME:PASSWORD http://127.0.0.1:8764/api/apps/Movie_Search/query/Movie_Profile?q=movieId_s:202
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 8764 (#0)
* Server auth using Basic with user 'admin'
> GET /api/apps/Movie_Search/query/Movie_Profile?q=movieId_s:202 HTTP/1.1
> Host: 127.0.0.1:8764
> Authorization: Basic YWRtaW46UGFzc3dvcmQxMjM=
> User-Agent: curl/7.54.0
> Accept: */*
> fusion-request-id: Movie202
>
< HTTP/1.1 200 OK
< Server: Jetty(9.3.8.v20160314)
< fusion-request-id: Movie202
< Content-Type: application/json;charset=UTF-8
< x-fusion-query-id: f5KGn9KPvv
< Set-Cookie: id=c114b816-df6f-4b17-97e0-bb87ef815bf0;Path=/;HttpOnly
< Content-Length: 1707
< Connection: close
<
* Closing connection 0
(search result omitted)
```

With a Fusion request ID, you can trace requests in log files and **Use Dashboards in Fusion**

<Accordion title="Use Dashboards in Fusion">
  This topic details the options available to use Fusion dashboards.

  ## Dashboards main page

  When you open the Fusion dashboards, your organization’s dashboards display, as well as the EXPLORE DASHBOARDS section that provides options to create or display specific types of dashboards.

  You can click the icons in the top right corner of the screen to perform the following functions:

  | Option                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | Notes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
  | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | <img src="https://mintcdn.com/lucidworks/UvoyXcLoYZI3kpMl/assets/images/common/dashboards/open-default-dashboard.png?fit=max&auto=format&n=UvoyXcLoYZI3kpMl&q=85&s=3d9a1b9a855be4d6f21d146fd7836419" alt="Goto saved default" width="28" height="22" data-path="assets/images/common/dashboards/open-default-dashboard.png" /> Goto saved default | Open the saved default dashboard.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
  | <img src="https://mintcdn.com/lucidworks/9iE2X4O8aa8U8XL3/assets/images/common/dashboards/create-dashboard.png?fit=max&auto=format&n=9iE2X4O8aa8U8XL3&q=85&s=4cef385cbb1457f042ccb385927da4a4" alt="New" width="24" height="28" data-path="assets/images/common/dashboards/create-dashboard.png" /> New                                                                               | Create a new dashboard. Options are: <ul><li>Time-series dashboard</li> <li>Non time-series dashboard</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
  | <img src="https://mintcdn.com/lucidworks/UvoyXcLoYZI3kpMl/assets/images/common/dashboards/load-dashboard.png?fit=max&auto=format&n=UvoyXcLoYZI3kpMl&q=85&s=312d0c61d3a90e9a4078486e9ff43ad4" alt="Load" width="31" height="24" data-path="assets/images/common/dashboards/load-dashboard.png" /> Load                                                                                             | Load a dashboard using one of the following options: <ul><li>Load dashboard JSON layout from file<br /><br /> Click **Local File > Choose File > select file > Open**.<br /><br /> Saved dashboards are listed at the bottom of the dialog box. Click a dashboard to open it. Filter dashboards by entering an exact-match string in the Filter box. If there are more that 20 saved dashboards, use the pagination controls to find a dashboard. To view the next set of pages, click the forward arrows. To view the prior set of pages, click the back arrows. Or click a page number to view the dashboards on that page.</li> <li>Enter the gist URL or number (the last part of the URL)<br /><br /> **Enter value > click Get** <img className="inline-image" alt="Get" src="https://mintcdn.com/lucidworks/9iE2X4O8aa8U8XL3/assets/images/common/dashboards/get-gist.png?fit=max&auto=format&n=9iE2X4O8aa8U8XL3&q=85&s=795eef3c8c1ac98c279ed2da793712d7" width="29" height="24" data-path="assets/images/common/dashboards/get-gist.png" />  A link that opens the dashboard appears below a thin line. The link displays the dashboard name. Click the link to open the dashboard.</li> <li>Type to filter.<br /><br /> Enter dashboard type to filter and display if the dashboard matches.</li></ul> |
  | <img src="https://mintcdn.com/lucidworks/UvoyXcLoYZI3kpMl/assets/images/common/dashboards/save-dashboard.png?fit=max&auto=format&n=UvoyXcLoYZI3kpMl&q=85&s=0844165a953cc20d34947bcb2841dcaa" alt="Save" width="26" height="26" data-path="assets/images/common/dashboards/save-dashboard.png" /> Save                                                                                             | Save options include: <ul><li>Locally <ul><li>Export to File</li> <li>Set as Browser Default. Click to set the current dashboard as the default.</li> <li>Clear Browser Default. Click to clear the current dashboard. The default dashboard for the browser becomes the system default dashboard `default.json` (the Fusion Logs dashboard).</li></ul></li> <li>Solr <ul><li>Make Public. If this checkbox is selected, the dashboard is shared with everyone.</li> <li>Service Logs. Enter a value and click **Save** to save the log.</li></ul></li> </ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
  | Configure Dashboard                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | Click to configure tabs for General, Rows, Control, and Solr dashboard settings.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
  | Delete a dashboard saved in Solr                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | <ol><li>Click **Load**.</li> <li>Identify the file to delete and click **Delete**.</li> <li>Click **OK** to confirm the deletion.</li></ol>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
  | Delete a dashboard saved in a file                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Navigate to the file and delete it.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
  | Delete a dashboard saved as a GitHub gist                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | Open the gist URL and click **Delete**.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |

  For more information, see [Fusion 4.x Built-in Dashboards](/docs/4/fusion-server/concepts/dashboards/built-in-dashboards).

  ## Interact with data

  The table describes options to interact with data displayed in certain dashboards.

  | Option                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Notes                                                                                                                                                                                                                 |
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Collections                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Choose the collection from which to obtain data. If a dashboard is configured to let users choose among collections, select the collection from the **Collections** drop-down list at the top right of the dashboard. |
  | <img src="https://mintcdn.com/lucidworks/UvoyXcLoYZI3kpMl/assets/images/common/dashboards/query-search.png?fit=max&auto=format&n=UvoyXcLoYZI3kpMl&q=85&s=7715cd261a19759b6c99cce41bcb191b" alt="Search" width="28" height="28" data-path="assets/images/common/dashboards/query-search.png" /> Search                                                     | Enter the value to search. <ul><li>To search for a specific value, enter a term or phrase and click **Search**.</li> <li>To retrieve all data, enter `*.*` and click **Search**.</li></ul>                            |
  | <img src="https://mintcdn.com/lucidworks/9iE2X4O8aa8U8XL3/assets/images/common/dashboards/clear-search-box.png?fit=max&auto=format&n=9iE2X4O8aa8U8XL3&q=85&s=866adee7697017a707df3cb6ae440bde" alt="Clear search box" width="34" height="24" data-path="assets/images/common/dashboards/clear-search-box.png" /> Clear search box | Click to clear the search box and return the most general query, as if you entered `*.*`.                                                                                                                             |
  | <img src="https://mintcdn.com/lucidworks/UvoyXcLoYZI3kpMl/assets/images/common/dashboards/waiting-for-data.png?fit=max&auto=format&n=UvoyXcLoYZI3kpMl&q=85&s=4b4dade3bc85dc254070eec8b09e1db4" alt="Waiting for data" width="26" height="25" data-path="assets/images/common/dashboards/waiting-for-data.png" /> Waiting for data | Indicates the query is waiting for data to be returned. If the indicator spins for an extended time while other panels display data, the panel is not configured correctly.                                           |
  | Select item                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Click a table row. In a graphical-visualization panel, click the data item. NOTE: Not all panel types let you select data in this way.                                                                                |
  | <img src="https://mintcdn.com/lucidworks/9iE2X4O8aa8U8XL3/assets/images/common/dashboards/export-data.png?fit=max&auto=format&n=9iE2X4O8aa8U8XL3&q=85&s=17dd58b156e54fb6a0b2910ab840b703" alt="Export data" width="25" height="24" data-path="assets/images/common/dashboards/export-data.png" /> Export data                                                   | Click to enter the number of rows to export and select the destination file type. For example, CSV, XML, or JSON.                                                                                                     |
  | <img src="https://mintcdn.com/lucidworks/UvoyXcLoYZI3kpMl/assets/images/common/dashboards/hide-row.png?fit=max&auto=format&n=UvoyXcLoYZI3kpMl&q=85&s=3e632c1efb112cb16e43635de43d0027" alt="Hide" width="24" height="25" data-path="assets/images/common/dashboards/hide-row.png" /> Hide row                                                                                     | Click to hide the row from the display.                                                                                                                                                                               |
  | <img src="https://mintcdn.com/lucidworks/9iE2X4O8aa8U8XL3/assets/images/common/dashboards/expand-row.png?fit=max&auto=format&n=9iE2X4O8aa8U8XL3&q=85&s=349be54bb63cbcb07195c6ea659d15bd" alt="Expand" width="26" height="26" data-path="assets/images/common/dashboards/expand-row.png" /> Expand row                                                                 | Click the row to display detailed information.                                                                                                                                                                        |

  ## Interact with specific types of panels

  The table describes options for specific types of panels.

  ### Table and text panels

  | Option                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | Notes                                                                                                                                              |
  | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Show or hide the field list                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | Click the right or left arrow, respectively, at the top of the panel.                                                                              |
  | Sort a table column                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | Click the up arrow at the top of the column to sort in ascending order. Click the down arrow at the top of the column to sort in descending order. |
  | View next or previous page of hits                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Click the right or left arrow, respectively, at the bottom of the page of hits.                                                                    |
  | <img src="https://mintcdn.com/lucidworks/UvoyXcLoYZI3kpMl/assets/images/common/dashboards/view-first-page.png?fit=max&auto=format&n=UvoyXcLoYZI3kpMl&q=85&s=27322680e72aed8c6bfa7c9390ae16c2" alt="View first page" width="26" height="26" data-path="assets/images/common/dashboards/view-first-page.png" /> View first page | Click to view the first page of hits for that particular panel.                                                                                    |
  | Show record details                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | Click the table row and then select the display format of Table, JSON, or Raw.                                                                     |
  | Hide details                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Click the up arrow at the top right of the details.                                                                                                |

  ### Histogram and Range Facet panels

  The table describes options for the Histogram and Range Facet panels.

  | Option                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Notes                                                                              |
  | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
  | Zoom in on a subset of data                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Click the area you want to enlarge, then drag across the range of data to zoom in. |
  | <img src="https://mintcdn.com/lucidworks/UvoyXcLoYZI3kpMl/assets/images/common/dashboards/zoom-out.png?fit=max&auto=format&n=UvoyXcLoYZI3kpMl&q=85&s=783f74b3da0d32915d8a0e6db7fbbbf8" alt="Zoom Out" width="26" height="27" data-path="assets/images/common/dashboards/zoom-out.png" /> Zoom out | Click to zoom out.                                                                 |

  ### Filtering panels

  The table describes filter options for panels.

  | Option                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Notes                                                                                                                                                                                                                                                                                                                                                                           |
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | <img src="https://mintcdn.com/lucidworks/9iE2X4O8aa8U8XL3/assets/images/common/dashboards/edit-filter.png?fit=max&auto=format&n=9iE2X4O8aa8U8XL3&q=85&s=0493365a46e325a957581425e19ed1b4" alt="Edit Filter" width="14" height="12" data-path="assets/images/common/dashboards/edit-filter.png" /> Edit filter                     | Click to edit a panel filter.                                                                                                                                                                                                                                                                                                                                                   |
  | <img src="https://mintcdn.com/lucidworks/UvoyXcLoYZI3kpMl/assets/images/common/dashboards/toggle-filter.png?fit=max&auto=format&n=UvoyXcLoYZI3kpMl&q=85&s=ac3ac2e6ca3dd604c0576bfb5fbef8f0" alt="Toggle Filter" width="13" height="12" data-path="assets/images/common/dashboards/toggle-filter.png" /> Toggle filter | Click to toggle the filter to the opposite setting (on or off).                                                                                                                                                                                                                                                                                                                 |
  | <img src="https://mintcdn.com/lucidworks/UvoyXcLoYZI3kpMl/assets/images/common/dashboards/remove-filter.png?fit=max&auto=format&n=UvoyXcLoYZI3kpMl&q=85&s=0b310fe67c4a725938b1056543b365d0" alt="Remove Filter" width="10" height="10" data-path="assets/images/common/dashboards/remove-filter.png" /> Remove filter | Click to remove the current filter. CAUTION: To display correctly, specific filters must be set for certain types of panels. Fusion also creates filters based on your interactions with data. You can add a filter back, but there is no undo. Before you remove a filter, toggle off the filter and verify the results. If the results are accurate, it is safe to remove it. |

  ### Heat Map panels

  The table describes the option for heat map panels.

  | Option                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | Notes                                             |
  | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
  | <img src="https://mintcdn.com/lucidworks/UvoyXcLoYZI3kpMl/assets/images/common/dashboards/transpose-rows-columns.png?fit=max&auto=format&n=UvoyXcLoYZI3kpMl&q=85&s=32887b669941e639cd0bc9231399c416" alt="Transpose Rows and Columns" width="30" height="29" data-path="assets/images/common/dashboards/transpose-rows-columns.png" /> Transpose rows and columns | Click to reverse the display of rows and columns. |

  ## Filter by Fusion request ID

  To only display information about log entries with a specific Fusion request ID, you can filter the contents of a logs dashboard by the Fusion request ID.

  Filter the contents in the following ways:

  * [Click a link in the error message or toast](#click-a-link-in-the-error-message-or-toast)
  * [Filter in a logs dashboard](#filter-in-a-logs-dashboard)
  * [Append a query filter parameter to the dashboard URL](#append-a-query-filter-parameter-to-the-dashboard-url)

  ### Click a link in the error message or toast

  To view the dashboard for a Fusion UI API error or API error toast, click **View logs dashboard**. The system displays the dashboard using a filter for that request ID.

  API error with link in Fusion UI:

  <img src="https://mintcdn.com/lucidworks/TTnHmbCCHl-1HFoG/assets/images/5.0/view-logs-dashboard-in-api-error.png?fit=max&auto=format&n=TTnHmbCCHl-1HFoG&q=85&s=59b8a3ed1fe501a1ceed2eb958e1d64b" alt="View logs dashboard link in API error" width="2672" height="978" data-path="assets/images/5.0/view-logs-dashboard-in-api-error.png" />

  API error toast with link:

  <img src="https://mintcdn.com/lucidworks/de_1M1m_4TTyJqw0/assets/images/5.0/error-toast-with-link.png?fit=max&auto=format&n=de_1M1m_4TTyJqw0&q=85&s=f50065e3e8d3a235badc25f8920c1c0c" alt="View logs dashboard link in toast" style={{ width: "300px" }} width="832" height="612" data-path="assets/images/5.0/error-toast-with-link.png" />

  Filtered Service Logs dashboard:

  Click **View logs dashboard** to open the Service Logs dashboard with filters by the Fusion request ID. For example, the filtering query for the `mdc_requestId_s` field displays the `fusion-request-id` of `BWQSjPPYgB`.

  <img src="https://mintcdn.com/lucidworks/TTnHmbCCHl-1HFoG/assets/images/5.0/service-logs-filtered-by-req-id.png?fit=max&auto=format&n=TTnHmbCCHl-1HFoG&q=85&s=6d87b717d310a221ad14d60168ce1758" alt="Service Logs dashboard filtered by request ID" width="1448" height="1330" data-path="assets/images/5.0/service-logs-filtered-by-req-id.png" />

  {/* //remove fusion-request-id in 5.4 */}

  ### Filter in a logs dashboard

  <Check>This section only applies to Fusion versions prior to 5.4.0.</Check>

  You can filter the dashboards for service logs, access logs, and combined logs by Fusion request ID.

  To filter by Fusion request ID, complete the following:

  1. Obtain the Fusion request ID returned by a request. For example, notice the Fusion request ID `BWQSjPPYgB` returned by this API command:

     ```
     curl -v -u USERNAME:PASSWORD http://127.0.0.1:8764/api/apps/inventory
     *   Trying 127.0.0.1...
     * TCP_NODELAY set
     * Connected to 127.0.0.1 (127.0.0.1) port 8764 (#0)
     * Server auth using Basic with user 'admin'
     > GET /api/apps/inventory HTTP/1.1
     > Host: 127.0.0.1:8764
     > Authorization: Basic YWRtaW46UGFzc3dvcmQxMjM=
     > User-Agent: curl/7.54.0
     > Accept: */*
     >
     < HTTP/1.1 404 Not Found
     < Content-Type: application/json
     < fusion-request-id: BWQSjPPYgB
     < Server: Jetty(9.3.8.v20160314)
     < Set-Cookie: id=4962c806-f3b5-485f-8fb4-c20e608b700c;Path=/;HttpOnly
     < Content-Length: 394
     < Connection: close
     <
     {
       "type" : "RESTError",
       "httpStatusCode" : 404,
       "error" : "ERR-0003",
       "message" : "A web application error occurred",
       "details" : "The Fusion App with id 'inventory' does not exist",
       "cause" : null,
       "requestId" : "BWQSjPPYgB",
       "httpStatusMessage" : "Not Found",
       "localizedMessage" : "The Fusion App with id 'inventory' does not exist",
       "suppressed" : [ ],
       "class" : null
     * Closing connection 0
     }
     ```
  2. Open the logs dashboard.
  3. Specify the Fusion request ID in the Filter panel, with a query for the `mdc_requestId_s` field that specifies the value of `fusion-request-id` for which you want to search.

  In this example, the `fusion-request-id` is `BWQSjPPYgB`:

  <img src="https://mintcdn.com/lucidworks/de_1M1m_4TTyJqw0/assets/images/5.0/add-filter-for-request-id.png?fit=max&auto=format&n=de_1M1m_4TTyJqw0&q=85&s=e93e2bfbccd29cc1a98af054b0e19795" alt="Add a filter for the Fusion request ID" width="1641" height="1146" data-path="assets/images/5.0/add-filter-for-request-id.png" />

  ### Append a query filter parameter to the dashboard URL

  As an alternative to constructing a query filter in the dashboard, you can append a query filter parameter to the dashboard URL. In the query filter, use the field name `mdc_requestID_s`.

  Example 1: Default dashboard (Service Logs)

  <img src="https://mintcdn.com/lucidworks/TTnHmbCCHl-1HFoG/assets/images/5.0/url-default-dashboard.png?fit=max&auto=format&n=TTnHmbCCHl-1HFoG&q=85&s=ffff05f8831ece58a361ca853f7edfec" alt="Default dashboard URL" width="2880" height="504" data-path="assets/images/5.0/url-default-dashboard.png" />

  Example 2: Combined Logs dashboard

  <img src="https://mintcdn.com/lucidworks/TTnHmbCCHl-1HFoG/assets/images/5.0/url-combined-logs.png?fit=max&auto=format&n=TTnHmbCCHl-1HFoG&q=85&s=cf646d2a9911468a3a4d8d200b567c8a" alt="Combined Logs URL" width="2880" height="504" data-path="assets/images/5.0/url-combined-logs.png" />

  ## Open the Service Logs dashboard from a job history

  1. Open the job history.

     * For most jobs, click **Collections** <InlineImage src="/assets/images/4.0/icons/workspace-menu-collections.png" alt="Collections" /> > **Jobs**, select a job, and then click **Job History**.
     * For datasource jobs, click **Indexing** <InlineImage src="/assets/images/4.0/icons/workspace-menu-indexing.png" alt="Indexing" /> > **Datasources**, select a datasource, and then click **Job History**.

       In the job history, you will see a link named `runId`:

         <img src="https://mintcdn.com/lucidworks/zH_ln2rWO5G9pvTA/assets/images/5.0/job-history.png?fit=max&auto=format&n=zH_ln2rWO5G9pvTA&q=85&s=1d60cc0cdadcc56e91448683fb2fdb19" alt="Job history" width="2880" height="1502" data-path="assets/images/5.0/job-history.png" />
  2. Click the link to view the Service Logs dashboard filtered by the `runId`:

       <img src="https://mintcdn.com/lucidworks/TTnHmbCCHl-1HFoG/assets/images/5.0/service-logs-filtered-by-runid.png?fit=max&auto=format&n=TTnHmbCCHl-1HFoG&q=85&s=dc05ea19c9f23b51d37917f89767a85e" alt="Service Logs dashboard filtered by runId" width="2880" height="1324" data-path="assets/images/5.0/service-logs-filtered-by-runid.png" />
</Accordion>
