Files

54 lines
2.2 KiB
Plaintext

---
title: 'logsql_* session settings'
sidebarTitle: 'logsql_*'
toc_max_heading_level: 2
description: 'ClickHouse session settings in the logsql_* generated group.'
doc_type: 'reference'
---
{/*AUTOGENERATED_START*/}
import SettingsInfoBlock from "/snippets/components/SettingsInfoBlock/SettingsInfoBlock.jsx";
import { VersionHistory } from "/snippets/components/VersionHistory/VersionHistory.jsx";
import { ExperimentalBadge } from "/snippets/components/ExperimentalBadge/ExperimentalBadge.jsx";
These settings are available in [system.settings](/reference/system-tables/settings) and are autogenerated from [source](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).
## logsql_database {#logsql_database}
<ExperimentalBadge/>
<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.10"},{"label": ""},{"label": "New setting to specify the database with the logs table used by the 'logsql' dialect."}]}]}/>
Specifies the database with the logs table used by the 'logsql' dialect. Empty string means the current database.
## logsql_message_column {#logsql_message_column}
<ExperimentalBadge/>
<SettingsInfoBlock type="String" default_value="_msg" />
<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.10"},{"label": "_msg"},{"label": "New setting to specify the column referred to by the `_msg` field in the 'logsql' dialect."}]}]}/>
Specifies the name of the column referred to by the `_msg` field (the default field of LogsQL filters) in the 'logsql' dialect.
## logsql_table {#logsql_table}
<ExperimentalBadge/>
<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.10"},{"label": ""},{"label": "New setting to specify the logs table used by the 'logsql' dialect."}]}]}/>
Specifies the name of the logs table used by the 'logsql' dialect.
## logsql_time_column {#logsql_time_column}
<ExperimentalBadge/>
<SettingsInfoBlock type="String" default_value="_time" />
<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.10"},{"label": "_time"},{"label": "New setting to specify the column referred to by the `_time` field in the 'logsql' dialect."}]}]}/>
Specifies the name of the column referred to by the `_time` field in the 'logsql' dialect.
{/*AUTOGENERATED_END*/}