upload-kibana-objects job from logsearch-for-cloudfoundry/211.0.3
This job uploads Kibana saved objects (index-patterns, searches, visualizations and dashboards). Allows to upload defaults predefined in the job and custom data files.
Github source:
c75e807
or
master branch
Properties¶
cloudfoundry
¶
firehose_events
¶Array of events you would like to get. Valid options are CounterEvent,Error,HttpStartStop,LogMessage,ValueMetric,ContainerMetric
- Default
- LogMessage
logs_hostname
¶logs deployment hostname
- Default
logs
password
¶The Cloud Foundry API user’s password.
skip_ssl_validation
¶Set to true to skip SSL validation (defaults to false)
- Default
false
system_domain
¶The Cloud Foundry System Domain
user
¶The Cloud Foundry API user.
elasticsearch
¶
host
¶Elasticsearch host
port
¶Elasticsearch port
elasticsearch_config
¶
app_index_prefix
¶Name prefix of your
app
log indices. If you don’t splitapp
andplatform
indices, then just set it with the value ofelasticsearch_config.index_prefix
.
- Default
logs-app
index_prefix
¶Name prefix of your log indices that you use in
logstash_parser.elasticsearch.index
property set for your parser.
- Default
logs-
platform_index_prefix
¶Name prefix of your
platform
log indices. If you don’t splitapp
andplatform
indices, then just set it with the value ofelasticsearch_config.index_prefix
.
- Default
logs-platform
kibana_objects
¶
default_index
¶Default index to set in Kibana
- Default
logs-app*
upload_data_files
¶List of text files to put in API endpoint /_bulk
- Default
[]
upload_patterns
¶List of glob patterns of Kibana objects to upload
- Default
- pattern: /var/vcap/jobs/upload-kibana-objects/kibana-objects/index-pattern/*.json type: index-pattern - pattern: /var/vcap/jobs/upload-kibana-objects/kibana-objects/search/*.json type: search - pattern: /var/vcap/jobs/upload-kibana-objects/kibana-objects/visualization/*.json type: visualization - pattern: /var/vcap/jobs/upload-kibana-objects/kibana-objects/dashboard/*.json type: dashboard
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/upload-kibana-objects/
directory
(learn more).
bin/generate-objects
(frombin/generate-objects
)bin/import-objects
(frombin/import-objects
)bin/run
(frombin/run
)kibana-objects/dashboard/App-Errors.json
(fromkibana-objects/dashboard/App-Errors.json.erb
)kibana-objects/dashboard/App-Location.json
(fromkibana-objects/dashboard/App-Location.json.erb
)kibana-objects/dashboard/App-Logs.json
(fromkibana-objects/dashboard/App-Logs.json.erb
)kibana-objects/dashboard/App-Metrics.json
(fromkibana-objects/dashboard/App-Metrics.json.erb
)kibana-objects/dashboard/App-Overview.json
(fromkibana-objects/dashboard/App-Overview.json.erb
)kibana-objects/dashboard/App-Performance.json
(fromkibana-objects/dashboard/App-Performance.json.erb
)kibana-objects/dashboard/Platform-Errors.json
(fromkibana-objects/dashboard/Platform-Errors.json.erb
)kibana-objects/dashboard/Platform-Haproxy.json
(fromkibana-objects/dashboard/Platform-Haproxy.json.erb
)kibana-objects/dashboard/Platform-Logs.json
(fromkibana-objects/dashboard/Platform-Logs.json.erb
)kibana-objects/dashboard/Platform-Overview.json
(fromkibana-objects/dashboard/Platform-Overview.json.erb
)kibana-objects/dashboard/Platform-UAA-Audit.json
(fromkibana-objects/dashboard/Platform-UAA-Audit.json.erb
)kibana-objects/index-pattern/logs-*.json
(fromkibana-objects/index-pattern/logs.json.erb
)kibana-objects/index-pattern/logs-app*.json
(fromkibana-objects/index-pattern/logs-app.json.erb
)kibana-objects/index-pattern/logs-platform*.json
(fromkibana-objects/index-pattern/logs-platform.json.erb
)kibana-objects/search/app-all-errors.json
(fromkibana-objects/search/app-all-errors.json.erb
)kibana-objects/search/app-all-messages.json
(fromkibana-objects/search/app-all-messages.json.erb
)kibana-objects/search/app-all-overview.json
(fromkibana-objects/search/app-all-overview.json.erb
)kibana-objects/search/app-all.json
(fromkibana-objects/search/app-all.json.erb
)kibana-objects/search/app-container-metric.json
(fromkibana-objects/search/app-container-metric.json.erb
)kibana-objects/search/app-counter.json
(fromkibana-objects/search/app-counter.json.erb
)kibana-objects/search/app-http.json
(fromkibana-objects/search/app-http.json.erb
)kibana-objects/search/app-logs-errors.json
(fromkibana-objects/search/app-logs-errors.json.erb
)kibana-objects/search/app-logs.json
(fromkibana-objects/search/app-logs.json.erb
)kibana-objects/search/app-rtr-long-response.json
(fromkibana-objects/search/app-rtr-long-response.json.erb
)kibana-objects/search/app-rtr.json
(fromkibana-objects/search/app-rtr.json.erb
)kibana-objects/search/app-value-metric.json
(fromkibana-objects/search/app-value-metric.json.erb
)kibana-objects/search/platform-all-errors.json
(fromkibana-objects/search/platform-all-errors.json.erb
)kibana-objects/search/platform-all-overview.json
(fromkibana-objects/search/platform-all-overview.json.erb
)kibana-objects/search/platform-all.json
(fromkibana-objects/search/platform-all.json.erb
)kibana-objects/search/platform-haproxy-long-response.json
(fromkibana-objects/search/platform-haproxy-long-response.json.erb
)kibana-objects/search/platform-haproxy.json
(fromkibana-objects/search/platform-haproxy.json.erb
)kibana-objects/search/platform-uaa-audit.json
(fromkibana-objects/search/platform-uaa-audit.json.erb
)kibana-objects/visualization/App-APP-logs-count-(top-10-apps).json
(fromkibana-objects/visualization/App-APP-logs-count-(top-10-apps).json.erb
)kibana-objects/visualization/App-APP-logs-count-by-level-(top-5-apps).json
(fromkibana-objects/visualization/App-APP-logs-count-by-level-(top-5-apps).json.erb
)kibana-objects/visualization/App-APP-logs-count-by-level.json
(fromkibana-objects/visualization/App-APP-logs-count-by-level.json.erb
)kibana-objects/visualization/App-APP-logs-count-in-timeline.json
(fromkibana-objects/visualization/App-APP-logs-count-in-timeline.json.erb
)kibana-objects/visualization/App-METRIC-CPU-usage.json
(fromkibana-objects/visualization/App-METRIC-CPU-usage.json.erb
)kibana-objects/visualization/App-METRIC-disk-usage.json
(fromkibana-objects/visualization/App-METRIC-disk-usage.json.erb
)kibana-objects/visualization/App-METRIC-memory-usage.json
(fromkibana-objects/visualization/App-METRIC-memory-usage.json.erb
)kibana-objects/visualization/App-RTR-request-count-(top-10-apps).json
(fromkibana-objects/visualization/App-RTR-request-count-(top-10-apps).json.erb
)kibana-objects/visualization/App-RTR-request-count-by-timezone-(top-5).json
(fromkibana-objects/visualization/App-RTR-request-count-by-timezone-(top-5).json.erb
)kibana-objects/visualization/App-RTR-requests-map.json
(fromkibana-objects/visualization/App-RTR-requests-map.json.erb
)kibana-objects/visualization/App-RTR-response-times-(50th-and-95th-first-10-apps).json
(fromkibana-objects/visualization/App-RTR-response-times-(50th-and-95th-first-10-apps).json.erb
)kibana-objects/visualization/App-RTR-response-times.json
(fromkibana-objects/visualization/App-RTR-response-times.json.erb
)kibana-objects/visualization/App-RTR-traffic-by-response_time_ms-(first-10-apps).json
(fromkibana-objects/visualization/App-RTR-traffic-by-response_time_ms-(first-10-apps).json.erb
)kibana-objects/visualization/App-apps-with-errors.json
(fromkibana-objects/visualization/App-apps-with-errors.json.erb
)kibana-objects/visualization/App-errors-count-in-timeline-(top-5-apps).json
(fromkibana-objects/visualization/App-errors-count-in-timeline-(top-5-apps).json.erb
)kibana-objects/visualization/App-links.json
(fromkibana-objects/visualization/App-links.json.erb
)kibana-objects/visualization/App-logs-by-source-type-(top-10).json
(fromkibana-objects/visualization/App-logs-by-source-type-(top-10).json.erb
)kibana-objects/visualization/App-logs-count-by-source-type-(APP-or-cf-top-5-apps).json
(fromkibana-objects/visualization/App-logs-count-by-source-type-(APP-or-cf-top-5-apps).json.erb
)kibana-objects/visualization/App-names.json
(fromkibana-objects/visualization/App-names.json.erb
)kibana-objects/visualization/Platform-Haproxy-request-status-codes-in-timeline.json
(fromkibana-objects/visualization/Platform-Haproxy-request-status-codes-in-timeline.json.erb
)kibana-objects/visualization/Platform-Haproxy-request-time-duration-(50th-95th-99th-top-5).json
(fromkibana-objects/visualization/Platform-Haproxy-request-time-duration-(50th-95th-99th-top-5).json.erb
)kibana-objects/visualization/Platform-Haproxy-request-time-duration.json
(fromkibana-objects/visualization/Platform-Haproxy-request-time-duration.json.erb
)kibana-objects/visualization/Platform-Haproxy-requests-(top-10).json
(fromkibana-objects/visualization/Platform-Haproxy-requests-(top-10).json.erb
)kibana-objects/visualization/Platform-UAA-Audit-event-locations.json
(fromkibana-objects/visualization/Platform-UAA-Audit-event-locations.json.erb
)kibana-objects/visualization/Platform-UAA-Audit-event-types.json
(fromkibana-objects/visualization/Platform-UAA-Audit-event-types.json.erb
)kibana-objects/visualization/Platform-UAA-Audit-events-by-type.json
(fromkibana-objects/visualization/Platform-UAA-Audit-events-by-type.json.erb
)kibana-objects/visualization/Platform-components-with-errors.json
(fromkibana-objects/visualization/Platform-components-with-errors.json.erb
)kibana-objects/visualization/Platform-components.json
(fromkibana-objects/visualization/Platform-components.json.erb
)kibana-objects/visualization/Platform-errors-count-by-source-component-(top-5).json
(fromkibana-objects/visualization/Platform-errors-count-by-source-component-(top-5).json.erb
)kibana-objects/visualization/Platform-errors-count-in-timeline.json
(fromkibana-objects/visualization/Platform-errors-count-in-timeline.json.erb
)kibana-objects/visualization/Platform-links.json
(fromkibana-objects/visualization/Platform-links.json.erb
)kibana-objects/visualization/Platform-logs-by-component-(top-5).json
(fromkibana-objects/visualization/Platform-logs-by-component-(top-5).json.erb
)kibana-objects/visualization/Platform-logs-by-source-job-(top-5).json
(fromkibana-objects/visualization/Platform-logs-by-source-job-(top-5).json.erb
)kibana-objects/visualization/Platform-logs-count-(top-10-components).json
(fromkibana-objects/visualization/Platform-logs-count-(top-10-components).json.erb
)kibana-objects/visualization/Platform-logs-count-by-level.json
(fromkibana-objects/visualization/Platform-logs-count-by-level.json.erb
)kibana-objects/visualization/Platform-logs-count-in-timeline.json
(fromkibana-objects/visualization/Platform-logs-count-in-timeline.json.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.