forked from elastic/package-storage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add infrastructure-ui-source to the Assets (elastic#94)
This is an asset which we don't have yet in modules today but could become useful in the future. I'm adding it here for completeness and for having a discussion around it. It is not expected to be supported in our first version.
- Loading branch information
Showing
3 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
dev/package-examples/coredns-1.0.1/kibana/infrastructure-ui-source/default.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"infrastructure-ui-source" : { | ||
"name" : "Default", | ||
"description" : "", | ||
"metricAlias" : "coredns-*", | ||
"logAlias" : "coredns-*", | ||
"fields" : { | ||
"container" : "container.id", | ||
"host" : "host.name", | ||
"pod" : "kubernetes.pod.uid", | ||
"tiebreaker" : "_doc", | ||
"timestamp" : "@timestamp" | ||
}, | ||
"logColumns" : [ | ||
{ | ||
"timestampColumn" : { | ||
"id" : "5e7f964a-be8a-40d8-88d2-fbcfbdca0e2f" | ||
} | ||
}, | ||
{ | ||
"fieldColumn" : { | ||
"id" : " eb9777a8-fcd3-420e-ba7d-172fff6da7a2", | ||
"field" : "event.dataset" | ||
} | ||
}, | ||
{ | ||
"messageColumn" : { | ||
"id" : "b645d6da-824b-4723-9a2a-e8cece1645c0" | ||
} | ||
} | ||
] | ||
}, | ||
"type" : "infrastructure-ui-source", | ||
"updated_at" : "2019-09-05T09:42:51.592Z" | ||
} |
35 changes: 35 additions & 0 deletions
35
testdata/package/example-0.0.2/kibana/infrastructure-ui-source/default.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"infrastructure-ui-source" : { | ||
"name" : "Default", | ||
"description" : "", | ||
"metricAlias" : "example-*", | ||
"logAlias" : "example-*", | ||
"fields" : { | ||
"container" : "container.id", | ||
"host" : "host.name", | ||
"pod" : "kubernetes.pod.uid", | ||
"tiebreaker" : "_doc", | ||
"timestamp" : "@timestamp" | ||
}, | ||
"logColumns" : [ | ||
{ | ||
"timestampColumn" : { | ||
"id" : "5e7f964a-be8a-40d8-88d2-fbcfbdca0e2f" | ||
} | ||
}, | ||
{ | ||
"fieldColumn" : { | ||
"id" : " eb9777a8-fcd3-420e-ba7d-172fff6da7a2", | ||
"field" : "event.dataset" | ||
} | ||
}, | ||
{ | ||
"messageColumn" : { | ||
"id" : "b645d6da-824b-4723-9a2a-e8cece1645c0" | ||
} | ||
} | ||
] | ||
}, | ||
"type" : "infrastructure-ui-source", | ||
"updated_at" : "2019-09-05T09:42:51.592Z" | ||
} |