Skip to content

upload-kibana-objects job from logsearch-for-cloudfoundry/211.0.2

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: 51681be 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 split app and platform indices, then just set it with the value of elasticsearch_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 split app and platform indices, then just set it with the value of elasticsearch_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 (from bin/generate-objects)
  • bin/import-objects (from bin/import-objects)
  • bin/run (from bin/run)
  • kibana-objects/dashboard/App-Errors.json (from kibana-objects/dashboard/App-Errors.json.erb)
  • kibana-objects/dashboard/App-Location.json (from kibana-objects/dashboard/App-Location.json.erb)
  • kibana-objects/dashboard/App-Logs.json (from kibana-objects/dashboard/App-Logs.json.erb)
  • kibana-objects/dashboard/App-Metrics.json (from kibana-objects/dashboard/App-Metrics.json.erb)
  • kibana-objects/dashboard/App-Overview.json (from kibana-objects/dashboard/App-Overview.json.erb)
  • kibana-objects/dashboard/App-Performance.json (from kibana-objects/dashboard/App-Performance.json.erb)
  • kibana-objects/dashboard/Platform-Errors.json (from kibana-objects/dashboard/Platform-Errors.json.erb)
  • kibana-objects/dashboard/Platform-Haproxy.json (from kibana-objects/dashboard/Platform-Haproxy.json.erb)
  • kibana-objects/dashboard/Platform-Logs.json (from kibana-objects/dashboard/Platform-Logs.json.erb)
  • kibana-objects/dashboard/Platform-Overview.json (from kibana-objects/dashboard/Platform-Overview.json.erb)
  • kibana-objects/dashboard/Platform-UAA-Audit.json (from kibana-objects/dashboard/Platform-UAA-Audit.json.erb)
  • kibana-objects/index-pattern/logs-*.json (from kibana-objects/index-pattern/logs.json.erb)
  • kibana-objects/index-pattern/logs-app*.json (from kibana-objects/index-pattern/logs-app.json.erb)
  • kibana-objects/index-pattern/logs-platform*.json (from kibana-objects/index-pattern/logs-platform.json.erb)
  • kibana-objects/search/app-all-errors.json (from kibana-objects/search/app-all-errors.json.erb)
  • kibana-objects/search/app-all-messages.json (from kibana-objects/search/app-all-messages.json.erb)
  • kibana-objects/search/app-all-overview.json (from kibana-objects/search/app-all-overview.json.erb)
  • kibana-objects/search/app-all.json (from kibana-objects/search/app-all.json.erb)
  • kibana-objects/search/app-container-metric.json (from kibana-objects/search/app-container-metric.json.erb)
  • kibana-objects/search/app-counter.json (from kibana-objects/search/app-counter.json.erb)
  • kibana-objects/search/app-http.json (from kibana-objects/search/app-http.json.erb)
  • kibana-objects/search/app-logs-errors.json (from kibana-objects/search/app-logs-errors.json.erb)
  • kibana-objects/search/app-logs.json (from kibana-objects/search/app-logs.json.erb)
  • kibana-objects/search/app-rtr-long-response.json (from kibana-objects/search/app-rtr-long-response.json.erb)
  • kibana-objects/search/app-rtr.json (from kibana-objects/search/app-rtr.json.erb)
  • kibana-objects/search/app-value-metric.json (from kibana-objects/search/app-value-metric.json.erb)
  • kibana-objects/search/platform-all-errors.json (from kibana-objects/search/platform-all-errors.json.erb)
  • kibana-objects/search/platform-all-overview.json (from kibana-objects/search/platform-all-overview.json.erb)
  • kibana-objects/search/platform-all.json (from kibana-objects/search/platform-all.json.erb)
  • kibana-objects/search/platform-haproxy-long-response.json (from kibana-objects/search/platform-haproxy-long-response.json.erb)
  • kibana-objects/search/platform-haproxy.json (from kibana-objects/search/platform-haproxy.json.erb)
  • kibana-objects/search/platform-uaa-audit.json (from kibana-objects/search/platform-uaa-audit.json.erb)
  • kibana-objects/visualization/App-APP-logs-count-(top-10-apps).json (from kibana-objects/visualization/App-APP-logs-count-(top-10-apps).json.erb)
  • kibana-objects/visualization/App-APP-logs-count-by-level-(top-5-apps).json (from kibana-objects/visualization/App-APP-logs-count-by-level-(top-5-apps).json.erb)
  • kibana-objects/visualization/App-APP-logs-count-by-level.json (from kibana-objects/visualization/App-APP-logs-count-by-level.json.erb)
  • kibana-objects/visualization/App-APP-logs-count-in-timeline.json (from kibana-objects/visualization/App-APP-logs-count-in-timeline.json.erb)
  • kibana-objects/visualization/App-METRIC-CPU-usage.json (from kibana-objects/visualization/App-METRIC-CPU-usage.json.erb)
  • kibana-objects/visualization/App-METRIC-disk-usage.json (from kibana-objects/visualization/App-METRIC-disk-usage.json.erb)
  • kibana-objects/visualization/App-METRIC-memory-usage.json (from kibana-objects/visualization/App-METRIC-memory-usage.json.erb)
  • kibana-objects/visualization/App-RTR-request-count-(top-10-apps).json (from kibana-objects/visualization/App-RTR-request-count-(top-10-apps).json.erb)
  • kibana-objects/visualization/App-RTR-request-count-by-timezone-(top-5).json (from kibana-objects/visualization/App-RTR-request-count-by-timezone-(top-5).json.erb)
  • kibana-objects/visualization/App-RTR-requests-map.json (from kibana-objects/visualization/App-RTR-requests-map.json.erb)
  • kibana-objects/visualization/App-RTR-response-times-(50th-and-95th-first-10-apps).json (from kibana-objects/visualization/App-RTR-response-times-(50th-and-95th-first-10-apps).json.erb)
  • kibana-objects/visualization/App-RTR-response-times.json (from kibana-objects/visualization/App-RTR-response-times.json.erb)
  • kibana-objects/visualization/App-RTR-traffic-by-response_time_ms-(first-10-apps).json (from kibana-objects/visualization/App-RTR-traffic-by-response_time_ms-(first-10-apps).json.erb)
  • kibana-objects/visualization/App-apps-with-errors.json (from kibana-objects/visualization/App-apps-with-errors.json.erb)
  • kibana-objects/visualization/App-errors-count-in-timeline-(top-5-apps).json (from kibana-objects/visualization/App-errors-count-in-timeline-(top-5-apps).json.erb)
  • kibana-objects/visualization/App-links.json (from kibana-objects/visualization/App-links.json.erb)
  • kibana-objects/visualization/App-logs-by-source-type-(top-10).json (from kibana-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 (from kibana-objects/visualization/App-logs-count-by-source-type-(APP-or-cf-top-5-apps).json.erb)
  • kibana-objects/visualization/App-names.json (from kibana-objects/visualization/App-names.json.erb)
  • kibana-objects/visualization/Platform-Haproxy-request-status-codes-in-timeline.json (from kibana-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 (from kibana-objects/visualization/Platform-Haproxy-request-time-duration-(50th-95th-99th-top-5).json.erb)
  • kibana-objects/visualization/Platform-Haproxy-request-time-duration.json (from kibana-objects/visualization/Platform-Haproxy-request-time-duration.json.erb)
  • kibana-objects/visualization/Platform-Haproxy-requests-(top-10).json (from kibana-objects/visualization/Platform-Haproxy-requests-(top-10).json.erb)
  • kibana-objects/visualization/Platform-UAA-Audit-event-locations.json (from kibana-objects/visualization/Platform-UAA-Audit-event-locations.json.erb)
  • kibana-objects/visualization/Platform-UAA-Audit-event-types.json (from kibana-objects/visualization/Platform-UAA-Audit-event-types.json.erb)
  • kibana-objects/visualization/Platform-UAA-Audit-events-by-type.json (from kibana-objects/visualization/Platform-UAA-Audit-events-by-type.json.erb)
  • kibana-objects/visualization/Platform-components-with-errors.json (from kibana-objects/visualization/Platform-components-with-errors.json.erb)
  • kibana-objects/visualization/Platform-components.json (from kibana-objects/visualization/Platform-components.json.erb)
  • kibana-objects/visualization/Platform-errors-count-by-source-component-(top-5).json (from kibana-objects/visualization/Platform-errors-count-by-source-component-(top-5).json.erb)
  • kibana-objects/visualization/Platform-errors-count-in-timeline.json (from kibana-objects/visualization/Platform-errors-count-in-timeline.json.erb)
  • kibana-objects/visualization/Platform-links.json (from kibana-objects/visualization/Platform-links.json.erb)
  • kibana-objects/visualization/Platform-logs-by-component-(top-5).json (from kibana-objects/visualization/Platform-logs-by-component-(top-5).json.erb)
  • kibana-objects/visualization/Platform-logs-by-source-job-(top-5).json (from kibana-objects/visualization/Platform-logs-by-source-job-(top-5).json.erb)
  • kibana-objects/visualization/Platform-logs-count-(top-10-components).json (from kibana-objects/visualization/Platform-logs-count-(top-10-components).json.erb)
  • kibana-objects/visualization/Platform-logs-count-by-level.json (from kibana-objects/visualization/Platform-logs-count-by-level.json.erb)
  • kibana-objects/visualization/Platform-logs-count-in-timeline.json (from kibana-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.