Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Filebeat] List of text fields to be converted #10372

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion filebeat/module/elasticsearch/slowlog/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@
- name: took
description: "Time it took to execute the query"
example: "300ms"
type: text
# Should we extrac that nicer?
type: keyword
ycombinator marked this conversation as resolved.
Show resolved Hide resolved
- name: types
description: "Types"
example: ""
type: keyword
- name: stats
description: "Statistics"
example: ""
# What does this exactly contain, do we need text?
type: text
ycombinator marked this conversation as resolved.
Show resolved Hide resolved
- name: search_type
description: "Search type"
Expand All @@ -26,10 +28,12 @@
- name: source_query
description: "Slow query"
example: "{\"query\":{\"match_all\":{\"boost\":1.0}}}"
# Do we need text?
ycombinator marked this conversation as resolved.
Show resolved Hide resolved
type: text
- name: extra_source
description: "Extra source information"
example: ""
# Do we need text?
type: text
ycombinator marked this conversation as resolved.
Show resolved Hide resolved
- name: total_hits
description: "Total hits"
Expand Down
7 changes: 5 additions & 2 deletions filebeat/module/haproxy/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,20 @@

- name: error_message
description: Error message logged by HAProxy in case of error.
# Text needed?
# Should it map to ECS?
ruflin marked this conversation as resolved.
Show resolved Hide resolved
type: text

- name: source
type: text
# What kind of source is this?
type: keyword
ruflin marked this conversation as resolved.
Show resolved Hide resolved
description: The HAProxy source of the log

- name: termination_state
description: Condition the session was in when the session ended.

- name: mode
type: text
type: keyword
ruflin marked this conversation as resolved.
Show resolved Hide resolved
description: mode that the frontend is operating (TCP or HTTP)

- name: connections
Expand Down
3 changes: 3 additions & 0 deletions filebeat/module/haproxy/log/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- name: captured_headers
description: >
List of headers captured in the response due to the presence of the "capture response header" statement in the frontend.
# Do we need text?
ruflin marked this conversation as resolved.
Show resolved Hide resolved
type: text

- name: status_code
Expand All @@ -32,10 +33,12 @@
- name: captured_headers
description: >
List of headers captured in the request due to the presence of the "capture request header" statement in the frontend.
# Do we need text? does this even have be be indexed?
ruflin marked this conversation as resolved.
Show resolved Hide resolved
type: text

- name: raw_request_line
description: Complete HTTP request line, including the method, request and HTTP version string.
# keyword? sounds like a .original field but none is matching
ruflin marked this conversation as resolved.
Show resolved Hide resolved
type: text

- name: time_wait_without_data_ms
Expand Down
5 changes: 4 additions & 1 deletion filebeat/module/kafka/log/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
description: >
Component the log is coming from.
- name: class
type: text
# Is there a reaons this would not be an exact search?
type: keyword
ruflin marked this conversation as resolved.
Show resolved Hide resolved
description: >
Java class the log is coming from.
- name: trace
Expand All @@ -30,10 +31,12 @@
description: >
Java class the trace is coming from.
- name: message
# Should this be mapped to `message` instead`? How is it different from the above message?
ruflin marked this conversation as resolved.
Show resolved Hide resolved
type: text
description: >
Message part of the trace.
- name: full
# Sounds like potentially worth as text, not sure where this fits
ruflin marked this conversation as resolved.
Show resolved Hide resolved
type: text
description: >
The full trace in the log line.
2 changes: 1 addition & 1 deletion filebeat/module/logstash/log/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
description: >
The module or class where the event originate.
- name: thread
type: text
type: keyword
ycombinator marked this conversation as resolved.
Show resolved Hide resolved
description: >
Information about the running thread where the log originate.
- name: log_event
Expand Down
4 changes: 4 additions & 0 deletions filebeat/module/logstash/slowlog/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
slowlog
fields:
- name: message
# This should go into log.original? Or is it `message`?
ycombinator marked this conversation as resolved.
Show resolved Hide resolved
type: text
description: >
Contains the un-parsed log message
Expand All @@ -12,10 +13,12 @@
description: >
The module or class where the event originate.
- name: thread
# Keyword?
ycombinator marked this conversation as resolved.
Show resolved Hide resolved
type: text
description: >
Information about the running thread where the log originate.
- name: event
# event.original? or log.original?
ycombinator marked this conversation as resolved.
Show resolved Hide resolved
type: text
description: >
Raw dump of the original event
Expand All @@ -32,6 +35,7 @@
description: >
Execution time for the plugin in milliseconds.
- name: plugin_params
# Keyword?
ycombinator marked this conversation as resolved.
Show resolved Hide resolved
type: text
description: >
String value of the plugin configuration
Expand Down
2 changes: 2 additions & 0 deletions filebeat/module/traefik/access/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
description: >
The number of requests
- name: frontend_name
# Keyword?
ruflin marked this conversation as resolved.
Show resolved Hide resolved
type: text
description: >
The name of the frontend used
- name: backend_url
# Keyword? Or map to url.original
ruflin marked this conversation as resolved.
Show resolved Hide resolved
type: text
description:
The url of the backend where request is forwarded
Expand Down