> For the complete MongoDB documentation index, see www.mongodb.com/docs/llms.txt

# atlas performanceAdvisor slowQueryLogs

Get log lines for slow queries for a specified host

## Options

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| -h, --help |  | false | help for slowQueryLogs |

## Inherited Options

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| -P, --profile | string | false | Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see [https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.](https://dochub.mongodb.org/core/atlas-cli-save-connection-settings) |

## Related Commands

- [atlas performanceAdvisor slowQueryLogs list](https://www.mongodb.com/docs/atlas/cli/current/command/atlas-performanceadvisor-slowquerylogs-list.md#std-label-atlas-performanceAdvisor-slowQueryLogs-list) - Return log lines for slow queries that the Performance Advisor and Query Profiler identified.
