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

Added id, name and version fields for faas #1796

Merged
merged 6 commits into from
Mar 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Thanks, you're awesome :-) -->

* Added two new fields (sha384,tlsh) to hash schema and one field to pe schema (pehash). #1678
* Added `email.*` beta field set. ##1688, #1705
* Added `faas.id` and `faas.name` fields. #1796

#### Removed

Expand Down
50 changes: 50 additions & 0 deletions docs/fields/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3648,6 +3648,40 @@ example: `af9d5aa4-a685-4c5f-a22b-444f80b3cc28`

// ===============================================================

|
[[field-faas-id]]
<<field-faas-id, faas.id>>

| The unique identifier of a serverless function.

For AWS Lambda it's the function ARN (Amazon Resource Name) without a version or alias suffix.

type: keyword



example: `arn:aws:lambda:us-west-2:123456789012:function:my-function`

| extended

// ===============================================================

|
[[field-faas-name]]
<<field-faas-name, faas.name>>

| The name of a serverless function.

type: keyword



example: `my-function`

| extended

// ===============================================================

|
[[field-faas-trigger]]
<<field-faas-trigger, faas.trigger>>
Expand Down Expand Up @@ -3708,6 +3742,22 @@ example: `http`

// ===============================================================

|
[[field-faas-version]]
<<field-faas-version, faas.version>>

| The version of a serverless function.

type: keyword



example: `123`

| extended

// ===============================================================

|=====


Expand Down
24 changes: 24 additions & 0 deletions experimental/generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2455,6 +2455,23 @@
description: The execution ID of the current function execution.
example: af9d5aa4-a685-4c5f-a22b-444f80b3cc28
default_field: false
- name: id
level: extended
type: keyword
ignore_above: 1024
description: 'The unique identifier of a serverless function.

For AWS Lambda it''s the function ARN (Amazon Resource Name) without a version
or alias suffix.'
example: arn:aws:lambda:us-west-2:123456789012:function:my-function
default_field: false
- name: name
level: extended
type: keyword
ignore_above: 1024
description: The name of a serverless function.
example: my-function
default_field: false
- name: trigger
level: extended
type: nested
Expand All @@ -2475,6 +2492,13 @@
\ * http\n * pubsub\n * datasource\n * timer\n * other"
example: http
default_field: false
- name: version
level: extended
type: keyword
ignore_above: 1024
description: The version of a serverless function.
example: '123'
default_field: false
- name: file
title: File
group: 2
Expand Down
3 changes: 3 additions & 0 deletions experimental/generated/csv/fields.csv
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,12 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
8.3.0-dev+exp,true,event,event.url,keyword,extended,,https://mysystem.example.com/alert/5271dedb-f5b0-4218-87f0-4ac4870a38fe,Event investigation URL
8.3.0-dev+exp,true,faas,faas.coldstart,boolean,extended,,,Boolean value indicating a cold start of a function.
8.3.0-dev+exp,true,faas,faas.execution,keyword,extended,,af9d5aa4-a685-4c5f-a22b-444f80b3cc28,The execution ID of the current function execution.
8.3.0-dev+exp,true,faas,faas.id,keyword,extended,,arn:aws:lambda:us-west-2:123456789012:function:my-function,The unique identifier of a serverless function.
8.3.0-dev+exp,true,faas,faas.name,keyword,extended,,my-function,The name of a serverless function.
8.3.0-dev+exp,true,faas,faas.trigger,nested,extended,,,Details about the function trigger.
8.3.0-dev+exp,true,faas,faas.trigger.request_id,keyword,extended,,123456789,"The ID of the trigger request , message, event, etc."
8.3.0-dev+exp,true,faas,faas.trigger.type,keyword,extended,,http,The trigger for the function execution.
8.3.0-dev+exp,true,faas,faas.version,keyword,extended,,123,The version of a serverless function.
8.3.0-dev+exp,true,file,file.accessed,date,extended,,,Last time the file was accessed.
8.3.0-dev+exp,true,file,file.attributes,keyword,extended,array,"[""readonly"", ""system""]",Array of file attributes.
8.3.0-dev+exp,true,file,file.code_signature.digest_algorithm,keyword,extended,,sha256,Hashing algorithm used to sign the process.
Expand Down
36 changes: 36 additions & 0 deletions experimental/generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3475,6 +3475,31 @@ faas.execution:
normalize: []
short: The execution ID of the current function execution.
type: keyword
faas.id:
dashed_name: faas-id
description: 'The unique identifier of a serverless function.

For AWS Lambda it''s the function ARN (Amazon Resource Name) without a version
or alias suffix.'
example: arn:aws:lambda:us-west-2:123456789012:function:my-function
flat_name: faas.id
ignore_above: 1024
level: extended
name: id
normalize: []
short: The unique identifier of a serverless function.
type: keyword
faas.name:
dashed_name: faas-name
description: The name of a serverless function.
example: my-function
flat_name: faas.name
ignore_above: 1024
level: extended
name: name
normalize: []
short: The name of a serverless function.
type: keyword
faas.trigger:
dashed_name: faas-trigger
description: Details about the function trigger.
Expand Down Expand Up @@ -3507,6 +3532,17 @@ faas.trigger.type:
normalize: []
short: The trigger for the function execution.
type: keyword
faas.version:
dashed_name: faas-version
description: The version of a serverless function.
example: '123'
flat_name: faas.version
ignore_above: 1024
level: extended
name: version
normalize: []
short: The version of a serverless function.
type: keyword
file.accessed:
dashed_name: file-accessed
description: 'Last time the file was accessed.
Expand Down
36 changes: 36 additions & 0 deletions experimental/generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4372,6 +4372,31 @@ faas:
normalize: []
short: The execution ID of the current function execution.
type: keyword
faas.id:
dashed_name: faas-id
description: 'The unique identifier of a serverless function.

For AWS Lambda it''s the function ARN (Amazon Resource Name) without a version
or alias suffix.'
example: arn:aws:lambda:us-west-2:123456789012:function:my-function
flat_name: faas.id
ignore_above: 1024
level: extended
name: id
normalize: []
short: The unique identifier of a serverless function.
type: keyword
faas.name:
dashed_name: faas-name
description: The name of a serverless function.
example: my-function
flat_name: faas.name
ignore_above: 1024
level: extended
name: name
normalize: []
short: The name of a serverless function.
type: keyword
faas.trigger:
dashed_name: faas-trigger
description: Details about the function trigger.
Expand Down Expand Up @@ -4404,6 +4429,17 @@ faas:
normalize: []
short: The trigger for the function execution.
type: keyword
faas.version:
dashed_name: faas-version
description: The version of a serverless function.
example: '123'
flat_name: faas.version
ignore_above: 1024
level: extended
name: version
normalize: []
short: The version of a serverless function.
type: keyword
group: 2
name: faas
prefix: faas.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
"ignore_above": 1024,
"type": "keyword"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"name": {
"ignore_above": 1024,
"type": "keyword"
},
"trigger": {
"properties": {
"request_id": {
Expand All @@ -27,6 +35,10 @@
}
},
"type": "nested"
},
"version": {
"ignore_above": 1024,
"type": "keyword"
}
}
}
Expand Down
12 changes: 12 additions & 0 deletions experimental/generated/elasticsearch/legacy/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -1227,6 +1227,14 @@
"ignore_above": 1024,
"type": "keyword"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"name": {
"ignore_above": 1024,
"type": "keyword"
},
"trigger": {
"properties": {
"request_id": {
Expand All @@ -1239,6 +1247,10 @@
}
},
"type": "nested"
},
"version": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
Expand Down
24 changes: 24 additions & 0 deletions generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2405,6 +2405,23 @@
description: The execution ID of the current function execution.
example: af9d5aa4-a685-4c5f-a22b-444f80b3cc28
default_field: false
- name: id
level: extended
type: keyword
ignore_above: 1024
description: 'The unique identifier of a serverless function.

For AWS Lambda it''s the function ARN (Amazon Resource Name) without a version
or alias suffix.'
example: arn:aws:lambda:us-west-2:123456789012:function:my-function
default_field: false
- name: name
level: extended
type: keyword
ignore_above: 1024
description: The name of a serverless function.
example: my-function
default_field: false
- name: trigger
level: extended
type: nested
Expand All @@ -2425,6 +2442,13 @@
\ * http\n * pubsub\n * datasource\n * timer\n * other"
example: http
default_field: false
- name: version
level: extended
type: keyword
ignore_above: 1024
description: The version of a serverless function.
example: '123'
default_field: false
- name: file
title: File
group: 2
Expand Down
3 changes: 3 additions & 0 deletions generated/csv/fields.csv
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,12 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
8.3.0-dev,true,event,event.url,keyword,extended,,https://mysystem.example.com/alert/5271dedb-f5b0-4218-87f0-4ac4870a38fe,Event investigation URL
8.3.0-dev,true,faas,faas.coldstart,boolean,extended,,,Boolean value indicating a cold start of a function.
8.3.0-dev,true,faas,faas.execution,keyword,extended,,af9d5aa4-a685-4c5f-a22b-444f80b3cc28,The execution ID of the current function execution.
8.3.0-dev,true,faas,faas.id,keyword,extended,,arn:aws:lambda:us-west-2:123456789012:function:my-function,The unique identifier of a serverless function.
8.3.0-dev,true,faas,faas.name,keyword,extended,,my-function,The name of a serverless function.
8.3.0-dev,true,faas,faas.trigger,nested,extended,,,Details about the function trigger.
8.3.0-dev,true,faas,faas.trigger.request_id,keyword,extended,,123456789,"The ID of the trigger request , message, event, etc."
8.3.0-dev,true,faas,faas.trigger.type,keyword,extended,,http,The trigger for the function execution.
8.3.0-dev,true,faas,faas.version,keyword,extended,,123,The version of a serverless function.
8.3.0-dev,true,file,file.accessed,date,extended,,,Last time the file was accessed.
8.3.0-dev,true,file,file.attributes,keyword,extended,array,"[""readonly"", ""system""]",Array of file attributes.
8.3.0-dev,true,file,file.code_signature.digest_algorithm,keyword,extended,,sha256,Hashing algorithm used to sign the process.
Expand Down
36 changes: 36 additions & 0 deletions generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3406,6 +3406,31 @@ faas.execution:
normalize: []
short: The execution ID of the current function execution.
type: keyword
faas.id:
dashed_name: faas-id
description: 'The unique identifier of a serverless function.

For AWS Lambda it''s the function ARN (Amazon Resource Name) without a version
or alias suffix.'
example: arn:aws:lambda:us-west-2:123456789012:function:my-function
flat_name: faas.id
ignore_above: 1024
level: extended
name: id
normalize: []
short: The unique identifier of a serverless function.
type: keyword
faas.name:
dashed_name: faas-name
description: The name of a serverless function.
example: my-function
flat_name: faas.name
ignore_above: 1024
level: extended
name: name
normalize: []
short: The name of a serverless function.
type: keyword
faas.trigger:
dashed_name: faas-trigger
description: Details about the function trigger.
Expand Down Expand Up @@ -3438,6 +3463,17 @@ faas.trigger.type:
normalize: []
short: The trigger for the function execution.
type: keyword
faas.version:
dashed_name: faas-version
description: The version of a serverless function.
example: '123'
flat_name: faas.version
ignore_above: 1024
level: extended
name: version
normalize: []
short: The version of a serverless function.
type: keyword
file.accessed:
dashed_name: file-accessed
description: 'Last time the file was accessed.
Expand Down
Loading