Skip to content

Commit

Permalink
Remove aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano committed Feb 25, 2021
1 parent 28df0cc commit aa1078b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
10 changes: 0 additions & 10 deletions packages/postgresql/data_stream/log/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
type: keyword
description: |
The timestamp from the log line.
- name: core_id
type: alias
description: |
Core id. (deprecated, there is no core_id in PostgreSQL logs, this is actually session_line_number).
path: postgresql.log.session_line_number
- name: client_addr
type: keyword
description: |
Expand Down Expand Up @@ -98,11 +93,6 @@
type: keyword
description: |
Type of backend of this event. Possible types are autovacuum launcher, autovacuum worker, logical replication launcher, logical replication worker, parallel worker, background writer, client backend, checkpointer, startup, walreceiver, walsender and walwriter. In addition, background workers registered by extensions may have additional types.
- name: error.code
type: alias
description: |
Error code returned by Postgres (if any). Deprecated: errors can have letters. Use sql_state_code instead.
path: postgresql.log.sql_state_code
- name: event.kind
type: keyword
description: Event kind (e.g. event)
Expand Down
2 changes: 0 additions & 2 deletions packages/postgresql/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,8 @@ persistent connections, so enable with care.
| postgresql.log.client_port | Port where the connection originated from. | keyword |
| postgresql.log.command_tag | Type of session's current command. The complete list can be found at: src/include/tcop/cmdtaglist.h | keyword |
| postgresql.log.context | Error context. | keyword |
| postgresql.log.core_id | Core id. (deprecated, there is no core_id in PostgreSQL logs, this is actually session_line_number). | alias |
| postgresql.log.database | Name of database. | keyword |
| postgresql.log.detail | More information about the message, parameters in case of a parametrized query. e.g. 'Role \"user\" does not exist.', 'parameters: $1 = 42', etc. | keyword |
| postgresql.log.error.code | Error code returned by Postgres (if any). Deprecated: errors can have letters. Use sql_state_code instead. | alias |
| postgresql.log.hint | A possible solution to solve an error. | keyword |
| postgresql.log.internal_query | Internal query that led to the error (if any). | keyword |
| postgresql.log.internal_query_pos | Character count of the internal query (if any). | long |
Expand Down

0 comments on commit aa1078b

Please sign in to comment.