Skip to content

Commit

Permalink
Address review feedback. Add fake datastream, to pass linter
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksmaus committed Jan 20, 2021
1 parent 4dd2e9a commit 565c231
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 3 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- name: data_stream.type
type: constant_keyword
description: Datastream type.
- name: data_stream.dataset
type: constant_keyword
description: Datastream dataset.
- name: data_stream.namespace
type: constant_keyword
description: Datastream namespace.
- name: "@timestamp"
type: date
description: >
Event timestamp.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- name: fleet_server
type: group
3 changes: 3 additions & 0 deletions packages/fleet_server/data_stream/fleet_server/manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title: Fleet Server
type: logs
release: experimental
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"index.lifecycle.name": ".fleet-actions-results-ilm-policy"
},
"mappings": {
"dynamic": false,
"properties": {
"action_id": {
"type": "keyword"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"template": {
"settings": {},
"mappings": {
"dynamic": false,
"properties": {
"action_id": {
"type": "keyword"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"template": {
"settings": {},
"mappings": {
"dynamic": false,
"properties": {
"access_api_key_id": {
"type": "keyword"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"template": {
"settings": {},
"mappings": {
"dynamic": false,
"properties": {
"active": {
"type": "boolean"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"template": {
"settings": {},
"mappings": {
"dynamic": false,
"properties": {
"server": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"template": {
"settings": {},
"mappings": {
"dynamic": false,
"properties": {
"coordinator_idx": {
"type": "integer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"template": {
"settings": {},
"mappings": {
"dynamic": false,
"properties": {
"agent": {
"properties": {
Expand Down
12 changes: 9 additions & 3 deletions packages/fleet_server/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,23 @@ policy_templates:
title: Fleet Server
description: Fleet Server setup
inputs:
- type: fleet_server
- type: fleet-server
vars:
# TODO: Mainly for testing, probably no config options at first
- name: host
type: text
title: Host
multi: true
required: true
show_user: true
default:
- 127.0.0.1
- 0.0.0.0
- name: port
type: text
title: Port
required: true
show_user: true
default:
- 8000
title: "Fleet Server parts"
description: "Hello World Fleet Server"

Expand Down

0 comments on commit 565c231

Please sign in to comment.