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

[Fleet] Initiating package package installation immediately sets status to "installed" #108649

Closed
axw opened this issue Aug 16, 2021 · 0 comments · Fixed by #111875
Closed

[Fleet] Initiating package package installation immediately sets status to "installed" #108649

axw opened this issue Aug 16, 2021 · 0 comments · Fixed by #111875
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@axw
Copy link
Member

axw commented Aug 16, 2021

Kibana version:

8.0.0-SNAPSHOT

Elasticsearch version:

8.0.0-SNAPSHOT

Describe the bug:

When installing a package through the Integrations app, the package status as reported by the API is immediately "installed" even before the Elasticsearch assets are created.

Steps to reproduce:

  1. Visit http://kibana/app/integrations/detail/apm-0.4.0/settings, install the integration
  2. Without waiting for the above to complete, curl http://kibana:5601/api/fleet/epm/packages/apm
  3. Observe the status is "installed"

Expected behavior:

The reported package status is "installing" until all assets are installed.

Provide logs and/or server output (if relevant):

Package status before Elasticsearch assets installed
{"response":{"name":"apm","title":"Elastic APM","version":"0.4.0","release":"experimental","description":"Ingest APM data","type":"integration","download":"/epr/apm/apm-0.4.0.zip","path":"/package/apm/0.4.0","icons":[{"src":"/img/logo_apm.svg","path":"/package/apm/0.4.0/img/logo_apm.svg","title":"APM Logo","size":"32x32","type":"image/svg+xml"}],"format_version":"1.0.0","readme":"/package/apm/0.4.0/docs/README.md","license":"basic","categories":["elastic_stack","monitoring"],"conditions":{"kibana.version":"^7.13.0"},"screenshots":[{"src":"/img/apm-01-service-inventory.png","path":"/package/apm/0.4.0/img/apm-01-service-inventory.png","title":"apm app service inventory","size":"1440x1025","type":"image/png"},{"src":"/img/apm-02-service-overview.png","path":"/package/apm/0.4.0/img/apm-02-service-overview.png","title":"apm app service overview","size":"1440x2032","type":"image/png"},{"src":"/img/apm-03-trace.png","path":"/package/apm/0.4.0/img/apm-03-trace.png","title":"apm app trace","size":"1440x1382","type":"image/png"},{"src":"/img/apm-04-service-map.png","path":"/package/apm/0.4.0/img/apm-04-service-map.png","title":"apm app service map","size":"1440x1025","type":"image/png"}],"assets":{"elasticsearch":{"ilm":[{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ilm","file":"default_policy.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ilm/default_policy.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ilm","file":"default_policy.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ilm/default_policy.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ilm","file":"default_policy.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ilm/default_policy.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ilm","file":"default_policy.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ilm/default_policy.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ilm","file":"default_policy.json","dataset":"sampled_traces","path":"apm-0.4.0/data_stream/sampled_traces/elasticsearch/ilm/default_policy.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ilm","file":"default_policy.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ilm/default_policy.json"}],"ingest_pipeline":[{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_data_stream_migration.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_data_stream_migration.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_error_grouping_name.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_error_grouping_name.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_ingest_timestamp.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_metrics_dynamic_template.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_remove_span_metadata.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_agent.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_user_agent.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_geo.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_user_geo.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"default.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/default.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_data_stream_migration.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_data_stream_migration.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_error_grouping_name.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_error_grouping_name.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_ingest_timestamp.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_metrics_dynamic_template.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_remove_span_metadata.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_agent.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_user_agent.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_geo.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_user_geo.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"default.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/default.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_data_stream_migration.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_data_stream_migration.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_error_grouping_name.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_error_grouping_name.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_ingest_timestamp.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_metrics_dynamic_template.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_remove_span_metadata.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_agent.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_user_agent.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_geo.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_user_geo.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"default.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/default.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_data_stream_migration.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_data_stream_migration.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_error_grouping_name.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_error_grouping_name.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_ingest_timestamp.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_metrics_dynamic_template.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_remove_span_metadata.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_agent.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_user_agent.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_geo.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_user_geo.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"default.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/default.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"default.json","dataset":"sampled_traces","path":"apm-0.4.0/data_stream/sampled_traces/elasticsearch/ingest_pipeline/default.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_data_stream_migration.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_data_stream_migration.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_error_grouping_name.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_error_grouping_name.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_ingest_timestamp.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_metrics_dynamic_template.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_remove_span_metadata.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_agent.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_user_agent.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_geo.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_user_geo.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"default.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/default.json"}]}},"policy_templates":[{"name":"apmserver","title":"Elastic APM Integration","description":"Elastic APM Integration","inputs":[{"type":"apm","vars":[{"name":"host","type":"text","title":"Host","multi":false,"required":true,"show_user":true,"default":"localhost:8200"},{"name":"url","type":"text","title":"URL","multi":false,"required":true,"show_user":true,"default":"http://localhost:8200"},{"name":"secret_token","type":"text","title":"Secret token for Agent authentication","multi":false,"required":false,"show_user":true},{"name":"api_key_enabled","type":"bool","title":"API Key for Agent authentication","description":"Enable API Key auth between APM Server and APM Agents.","multi":false,"required":false,"show_user":true,"default":false},{"name":"enable_rum","type":"bool","title":"Enable RUM","description":"Enable Real User Monitoring (RUM).","multi":false,"required":true,"show_user":true,"default":true},{"name":"anonymous_enabled","type":"bool","title":"Anonymous Agent access","description":"Enable anonymous access to APM Server for select APM Agents.","multi":false,"required":false,"show_user":true,"default":true},{"name":"anonymous_allow_agent","type":"text","title":"Anonymous Agent access - allowed agents","description":"Allowed agent names for anonymous access.","multi":true,"required":false,"show_user":false,"default":["rum-js","js-base","iOS/swift"]},{"name":"anonymous_allow_service","type":"text","title":"Anonymous Agent access - allowed services","description":"Allowed service names for anonymous access.","multi":true,"required":false,"show_user":false},{"name":"anonymous_rate_limit_event_limit","type":"integer","title":"Anonymous Agent access - event rate limit (event limit)","description":"Maximum number of events per client IP per second.","multi":false,"required":false,"show_user":false,"default":10},{"name":"anonymous_rate_limit_ip_limit","type":"integer","title":"Anonymous Agent access - rate limit (IP limit)","description":"Number of unique client IPs for which a distinct rate limit will be maintained.","multi":false,"required":false,"show_user":false,"default":10000},{"name":"default_service_environment","type":"text","title":"Default Service Environment","description":"Default service environment to record in events which have no service environment defined.","multi":false,"required":false,"show_user":false},{"name":"rum_allow_origins","type":"text","title":"RUM - Origin Headers","description":"Allowed Origin headers to be sent by User Agents.","multi":true,"required":false,"show_user":false,"default":["\"*\""]},{"name":"rum_allow_headers","type":"text","title":"RUM - Access-Control-Allow-Headers","description":"Supported Access-Control-Allow-Headers in addition to \"Content-Type\", \"Content-Encoding\" and \"Accept\".","multi":true,"required":false,"show_user":false},{"name":"rum_response_headers","type":"yaml","title":"RUM - Custom HTTP response headers","description":"Added to RUM responses, e.g. for security policy compliance.","multi":false,"required":false,"show_user":false},{"name":"rum_library_pattern","type":"text","title":"RUM - Library Frame Pattern","description":"Identify library frames by matching a stacktrace frame's `file_name` and `abs_path` against this regexp.","multi":false,"required":false,"show_user":false,"default":"\"node_modules|bower_components|~\""},{"name":"rum_exclude_from_grouping","type":"text","title":"RUM - Exclude from grouping","description":"Exclude stacktrace frames from error group calculations by matching a stacktrace frame's `file_name` against this regexp.","multi":false,"required":false,"show_user":false,"default":"\"^/webpack\""},{"name":"api_key_limit","type":"integer","title":"Maximum number of API Keys for Agent authentication","description":"Restrict number of unique API Keys per minute, used for auth between APM Agents and Server.","multi":false,"required":false,"show_user":false,"default":100},{"name":"max_event_bytes","type":"integer","title":"Maximum size per event (bytes)","multi":false,"required":false,"show_user":false,"default":307200},{"name":"capture_personal_data","type":"bool","title":"Capture personal data","description":"Capture personal data such as IP or User Agent.","multi":false,"required":false,"show_user":false,"default":true},{"name":"max_header_bytes","type":"integer","title":"Maximum size of a request's header (bytes)","multi":false,"required":false,"show_user":false,"default":1048576},{"name":"idle_timeout","type":"text","title":"Idle time before underlying connection is closed","multi":false,"required":false,"show_user":false,"default":"45s"},{"name":"read_timeout","type":"text","title":"Maximum duration for reading an entire request","multi":false,"required":false,"show_user":false,"default":"3600s"},{"name":"shutdown_timeout","type":"text","title":"Maximum duration before releasing resources when shutting down","multi":false,"required":false,"show_user":false,"default":"30s"},{"name":"write_timeout","type":"text","title":"Maximum duration for writing a response","multi":false,"required":false,"show_user":false,"default":"30s"},{"name":"max_connections","type":"integer","title":"Simultaneously accepted connections","description":"0 for unlimited","multi":false,"required":false,"show_user":false,"default":0},{"name":"response_headers","type":"yaml","title":"Custom HTTP headers added to HTTP responses","description":"Might be used for security policy compliance.","multi":false,"required":false,"show_user":false},{"name":"expvar_enabled","type":"bool","title":"Enable APM Server Golang expvar support","description":"exposed under /debug/vars","multi":false,"required":false,"show_user":false,"default":false},{"name":"tls_enabled","type":"bool","title":"Enable TLS","multi":false,"required":false,"show_user":false,"default":false},{"name":"tls_certificate","type":"text","title":"File path to server certificate","description":"Required when TLS is enabled.","multi":false,"required":false,"show_user":false},{"name":"tls_key","type":"text","title":"File path to server certificate key","description":"Required when TLS is enabled.","multi":false,"required":false,"show_user":false},{"name":"tls_supported_protocols","type":"text","title":"Supported protocol versions","multi":true,"required":false,"show_user":false},{"name":"tls_cipher_suites","type":"text","title":"Cipher suites for TLS connections.","description":"Not configurable for TLS 1.3.","multi":true,"required":false,"show_user":false},{"name":"tls_curve_types","type":"text","title":"Curve types for ECDHE based cipher suites","multi":true,"required":false,"show_user":false}],"title":"Collect application traces","description":"Collect application traces","template_path":"template.yml.hbs"}],"multiple":false}],"data_streams":[{"type":"metrics","dataset":"apm.app","ilm_policy":"metrics-apm.app_metrics-default_policy","dataset_is_prefix":true,"title":"APM application metrics","release":"experimental","ingest_pipeline":"default","package":"apm","elasticsearch":{"index_template.mappings":{"dynamic":true},"ingest_pipeline.name":"default"},"path":"app_metrics"},{"type":"logs","dataset":"apm.error","ilm_policy":"logs-apm.error_logs-default_policy","title":"APM logs and errors","release":"experimental","ingest_pipeline":"default","package":"apm","elasticsearch":{"index_template.mappings":{"dynamic":false},"ingest_pipeline.name":"default"},"path":"error_logs"},{"type":"metrics","dataset":"apm.internal","ilm_policy":"metrics-apm.internal_metrics-default_policy","title":"APM internal metrics","release":"experimental","ingest_pipeline":"default","package":"apm","elasticsearch":{"index_template.mappings":{"dynamic":"strict"},"ingest_pipeline.name":"default"},"path":"internal_metrics"},{"type":"metrics","dataset":"apm.profiling","ilm_policy":"metrics-apm.profile_metrics-default_policy","title":"APM profiles","release":"experimental","ingest_pipeline":"default","package":"apm","elasticsearch":{"index_template.mappings":{"dynamic":true},"ingest_pipeline.name":"default"},"path":"profile_metrics"},{"type":"traces","dataset":"sampled","ilm_policy":"traces-apm.sampled-default_policy","title":"APM tail-sampled traces","release":"experimental","ingest_pipeline":"default","package":"apm","elasticsearch":{"index_template.settings":{"number_of_shards":1},"index_template.mappings":{"dynamic":"strict"},"ingest_pipeline.name":"default"},"path":"sampled_traces"},{"type":"traces","dataset":"apm","ilm_policy":"traces-apm.traces-default_policy","title":"APM traces","release":"experimental","ingest_pipeline":"default","package":"apm","elasticsearch":{"index_template.mappings":{"dynamic":false},"ingest_pipeline.name":"default"},"path":"traces"}],"owner":{"github":"elastic/apm-server"},"latestVersion":"0.4.0","removable":true,"status":"installed","savedObject":{"id":"apm","type":"epm-packages","namespaces":[],"updated_at":"2021-08-16T06:44:35.678Z","version":"WzQ2MzUsMV0=","attributes":{"installed_kibana":[],"installed_es":[],"package_assets":[],"es_index_patterns":{"app_metrics":"metrics-apm.app.*-*","error_logs":"logs-apm.error-*","internal_metrics":"metrics-apm.internal-*","profile_metrics":"metrics-apm.profiling-*","sampled_traces":"traces-sampled-*","traces":"traces-apm-*"},"name":"apm","version":"0.4.0","internal":false,"removable":true,"install_version":"0.4.0","install_status":"installing","install_started_at":"2021-08-16T06:44:35.519Z","install_source":"registry"},"references":[],"migrationVersion":{"epm-packages":"7.14.0"},"coreMigrationVersion":"8.0.0"}}}
Package status after Elasticsearch assets installed
{"response":{"name":"apm","title":"Elastic APM","version":"0.4.0","release":"experimental","description":"Ingest APM data","type":"integration","download":"/epr/apm/apm-0.4.0.zip","path":"/package/apm/0.4.0","icons":[{"src":"/img/logo_apm.svg","path":"/package/apm/0.4.0/img/logo_apm.svg","title":"APM Logo","size":"32x32","type":"image/svg+xml"}],"format_version":"1.0.0","readme":"/package/apm/0.4.0/docs/README.md","license":"basic","categories":["elastic_stack","monitoring"],"conditions":{"kibana.version":"^7.13.0"},"screenshots":[{"src":"/img/apm-01-service-inventory.png","path":"/package/apm/0.4.0/img/apm-01-service-inventory.png","title":"apm app service inventory","size":"1440x1025","type":"image/png"},{"src":"/img/apm-02-service-overview.png","path":"/package/apm/0.4.0/img/apm-02-service-overview.png","title":"apm app service overview","size":"1440x2032","type":"image/png"},{"src":"/img/apm-03-trace.png","path":"/package/apm/0.4.0/img/apm-03-trace.png","title":"apm app trace","size":"1440x1382","type":"image/png"},{"src":"/img/apm-04-service-map.png","path":"/package/apm/0.4.0/img/apm-04-service-map.png","title":"apm app service map","size":"1440x1025","type":"image/png"}],"assets":{"elasticsearch":{"ilm":[{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ilm","file":"default_policy.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ilm/default_policy.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ilm","file":"default_policy.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ilm/default_policy.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ilm","file":"default_policy.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ilm/default_policy.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ilm","file":"default_policy.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ilm/default_policy.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ilm","file":"default_policy.json","dataset":"sampled_traces","path":"apm-0.4.0/data_stream/sampled_traces/elasticsearch/ilm/default_policy.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ilm","file":"default_policy.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ilm/default_policy.json"}],"ingest_pipeline":[{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_data_stream_migration.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_data_stream_migration.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_error_grouping_name.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_error_grouping_name.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_ingest_timestamp.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_metrics_dynamic_template.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_remove_span_metadata.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_agent.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_user_agent.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_geo.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_user_geo.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"default.json","dataset":"app_metrics","path":"apm-0.4.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/default.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_data_stream_migration.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_data_stream_migration.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_error_grouping_name.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_error_grouping_name.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_ingest_timestamp.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_metrics_dynamic_template.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_remove_span_metadata.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_agent.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_user_agent.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_geo.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_user_geo.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"default.json","dataset":"error_logs","path":"apm-0.4.0/data_stream/error_logs/elasticsearch/ingest_pipeline/default.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_data_stream_migration.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_data_stream_migration.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_error_grouping_name.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_error_grouping_name.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_ingest_timestamp.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_metrics_dynamic_template.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_remove_span_metadata.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_agent.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_user_agent.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_geo.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_user_geo.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"default.json","dataset":"internal_metrics","path":"apm-0.4.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/default.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_data_stream_migration.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_data_stream_migration.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_error_grouping_name.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_error_grouping_name.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_ingest_timestamp.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_metrics_dynamic_template.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_remove_span_metadata.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_agent.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_user_agent.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_geo.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_user_geo.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"default.json","dataset":"profile_metrics","path":"apm-0.4.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/default.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"default.json","dataset":"sampled_traces","path":"apm-0.4.0/data_stream/sampled_traces/elasticsearch/ingest_pipeline/default.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_data_stream_migration.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_data_stream_migration.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_error_grouping_name.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_error_grouping_name.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_ingest_timestamp.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_metrics_dynamic_template.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_remove_span_metadata.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_agent.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_user_agent.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"apm_user_geo.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_user_geo.json"},{"pkgkey":"apm-0.4.0","service":"elasticsearch","type":"ingest_pipeline","file":"default.json","dataset":"traces","path":"apm-0.4.0/data_stream/traces/elasticsearch/ingest_pipeline/default.json"}]}},"policy_templates":[{"name":"apmserver","title":"Elastic APM Integration","description":"Elastic APM Integration","inputs":[{"type":"apm","vars":[{"name":"host","type":"text","title":"Host","multi":false,"required":true,"show_user":true,"default":"localhost:8200"},{"name":"url","type":"text","title":"URL","multi":false,"required":true,"show_user":true,"default":"http://localhost:8200"},{"name":"secret_token","type":"text","title":"Secret token for Agent authentication","multi":false,"required":false,"show_user":true},{"name":"api_key_enabled","type":"bool","title":"API Key for Agent authentication","description":"Enable API Key auth between APM Server and APM Agents.","multi":false,"required":false,"show_user":true,"default":false},{"name":"enable_rum","type":"bool","title":"Enable RUM","description":"Enable Real User Monitoring (RUM).","multi":false,"required":true,"show_user":true,"default":true},{"name":"anonymous_enabled","type":"bool","title":"Anonymous Agent access","description":"Enable anonymous access to APM Server for select APM Agents.","multi":false,"required":false,"show_user":true,"default":true},{"name":"anonymous_allow_agent","type":"text","title":"Anonymous Agent access - allowed agents","description":"Allowed agent names for anonymous access.","multi":true,"required":false,"show_user":false,"default":["rum-js","js-base","iOS/swift"]},{"name":"anonymous_allow_service","type":"text","title":"Anonymous Agent access - allowed services","description":"Allowed service names for anonymous access.","multi":true,"required":false,"show_user":false},{"name":"anonymous_rate_limit_event_limit","type":"integer","title":"Anonymous Agent access - event rate limit (event limit)","description":"Maximum number of events per client IP per second.","multi":false,"required":false,"show_user":false,"default":10},{"name":"anonymous_rate_limit_ip_limit","type":"integer","title":"Anonymous Agent access - rate limit (IP limit)","description":"Number of unique client IPs for which a distinct rate limit will be maintained.","multi":false,"required":false,"show_user":false,"default":10000},{"name":"default_service_environment","type":"text","title":"Default Service Environment","description":"Default service environment to record in events which have no service environment defined.","multi":false,"required":false,"show_user":false},{"name":"rum_allow_origins","type":"text","title":"RUM - Origin Headers","description":"Allowed Origin headers to be sent by User Agents.","multi":true,"required":false,"show_user":false,"default":["\"*\""]},{"name":"rum_allow_headers","type":"text","title":"RUM - Access-Control-Allow-Headers","description":"Supported Access-Control-Allow-Headers in addition to \"Content-Type\", \"Content-Encoding\" and \"Accept\".","multi":true,"required":false,"show_user":false},{"name":"rum_response_headers","type":"yaml","title":"RUM - Custom HTTP response headers","description":"Added to RUM responses, e.g. for security policy compliance.","multi":false,"required":false,"show_user":false},{"name":"rum_library_pattern","type":"text","title":"RUM - Library Frame Pattern","description":"Identify library frames by matching a stacktrace frame's `file_name` and `abs_path` against this regexp.","multi":false,"required":false,"show_user":false,"default":"\"node_modules|bower_components|~\""},{"name":"rum_exclude_from_grouping","type":"text","title":"RUM - Exclude from grouping","description":"Exclude stacktrace frames from error group calculations by matching a stacktrace frame's `file_name` against this regexp.","multi":false,"required":false,"show_user":false,"default":"\"^/webpack\""},{"name":"api_key_limit","type":"integer","title":"Maximum number of API Keys for Agent authentication","description":"Restrict number of unique API Keys per minute, used for auth between APM Agents and Server.","multi":false,"required":false,"show_user":false,"default":100},{"name":"max_event_bytes","type":"integer","title":"Maximum size per event (bytes)","multi":false,"required":false,"show_user":false,"default":307200},{"name":"capture_personal_data","type":"bool","title":"Capture personal data","description":"Capture personal data such as IP or User Agent.","multi":false,"required":false,"show_user":false,"default":true},{"name":"max_header_bytes","type":"integer","title":"Maximum size of a request's header (bytes)","multi":false,"required":false,"show_user":false,"default":1048576},{"name":"idle_timeout","type":"text","title":"Idle time before underlying connection is closed","multi":false,"required":false,"show_user":false,"default":"45s"},{"name":"read_timeout","type":"text","title":"Maximum duration for reading an entire request","multi":false,"required":false,"show_user":false,"default":"3600s"},{"name":"shutdown_timeout","type":"text","title":"Maximum duration before releasing resources when shutting down","multi":false,"required":false,"show_user":false,"default":"30s"},{"name":"write_timeout","type":"text","title":"Maximum duration for writing a response","multi":false,"required":false,"show_user":false,"default":"30s"},{"name":"max_connections","type":"integer","title":"Simultaneously accepted connections","description":"0 for unlimited","multi":false,"required":false,"show_user":false,"default":0},{"name":"response_headers","type":"yaml","title":"Custom HTTP headers added to HTTP responses","description":"Might be used for security policy compliance.","multi":false,"required":false,"show_user":false},{"name":"expvar_enabled","type":"bool","title":"Enable APM Server Golang expvar support","description":"exposed under /debug/vars","multi":false,"required":false,"show_user":false,"default":false},{"name":"tls_enabled","type":"bool","title":"Enable TLS","multi":false,"required":false,"show_user":false,"default":false},{"name":"tls_certificate","type":"text","title":"File path to server certificate","description":"Required when TLS is enabled.","multi":false,"required":false,"show_user":false},{"name":"tls_key","type":"text","title":"File path to server certificate key","description":"Required when TLS is enabled.","multi":false,"required":false,"show_user":false},{"name":"tls_supported_protocols","type":"text","title":"Supported protocol versions","multi":true,"required":false,"show_user":false},{"name":"tls_cipher_suites","type":"text","title":"Cipher suites for TLS connections.","description":"Not configurable for TLS 1.3.","multi":true,"required":false,"show_user":false},{"name":"tls_curve_types","type":"text","title":"Curve types for ECDHE based cipher suites","multi":true,"required":false,"show_user":false}],"title":"Collect application traces","description":"Collect application traces","template_path":"template.yml.hbs"}],"multiple":false}],"data_streams":[{"type":"metrics","dataset":"apm.app","ilm_policy":"metrics-apm.app_metrics-default_policy","dataset_is_prefix":true,"title":"APM application metrics","release":"experimental","ingest_pipeline":"default","package":"apm","elasticsearch":{"index_template.mappings":{"dynamic":true},"ingest_pipeline.name":"default"},"path":"app_metrics"},{"type":"logs","dataset":"apm.error","ilm_policy":"logs-apm.error_logs-default_policy","title":"APM logs and errors","release":"experimental","ingest_pipeline":"default","package":"apm","elasticsearch":{"index_template.mappings":{"dynamic":false},"ingest_pipeline.name":"default"},"path":"error_logs"},{"type":"metrics","dataset":"apm.internal","ilm_policy":"metrics-apm.internal_metrics-default_policy","title":"APM internal metrics","release":"experimental","ingest_pipeline":"default","package":"apm","elasticsearch":{"index_template.mappings":{"dynamic":"strict"},"ingest_pipeline.name":"default"},"path":"internal_metrics"},{"type":"metrics","dataset":"apm.profiling","ilm_policy":"metrics-apm.profile_metrics-default_policy","title":"APM profiles","release":"experimental","ingest_pipeline":"default","package":"apm","elasticsearch":{"index_template.mappings":{"dynamic":true},"ingest_pipeline.name":"default"},"path":"profile_metrics"},{"type":"traces","dataset":"sampled","ilm_policy":"traces-apm.sampled-default_policy","title":"APM tail-sampled traces","release":"experimental","ingest_pipeline":"default","package":"apm","elasticsearch":{"index_template.settings":{"number_of_shards":1},"index_template.mappings":{"dynamic":"strict"},"ingest_pipeline.name":"default"},"path":"sampled_traces"},{"type":"traces","dataset":"apm","ilm_policy":"traces-apm.traces-default_policy","title":"APM traces","release":"experimental","ingest_pipeline":"default","package":"apm","elasticsearch":{"index_template.mappings":{"dynamic":false},"ingest_pipeline.name":"default"},"path":"traces"}],"owner":{"github":"elastic/apm-server"},"latestVersion":"0.4.0","removable":true,"status":"installed","savedObject":{"id":"apm","type":"epm-packages","namespaces":[],"updated_at":"2021-08-16T06:44:45.849Z","version":"WzQ3MjMsMV0=","attributes":{"installed_kibana":[],"installed_es":[{"id":"metrics-apm.app_metrics-default_policy","type":"data_stream_ilm_policy"},{"id":"logs-apm.error_logs-default_policy","type":"data_stream_ilm_policy"},{"id":"metrics-apm.internal_metrics-default_policy","type":"data_stream_ilm_policy"},{"id":"metrics-apm.profile_metrics-default_policy","type":"data_stream_ilm_policy"},{"id":"traces-apm.sampled_traces-default_policy","type":"data_stream_ilm_policy"},{"id":"traces-apm.traces-default_policy","type":"data_stream_ilm_policy"},{"id":"metrics-apm.app-0.4.0-apm_data_stream_migration","type":"ingest_pipeline"},{"id":"metrics-apm.app-0.4.0-apm_error_grouping_name","type":"ingest_pipeline"},{"id":"metrics-apm.app-0.4.0-apm_ingest_timestamp","type":"ingest_pipeline"},{"id":"metrics-apm.app-0.4.0-apm_metrics_dynamic_template","type":"ingest_pipeline"},{"id":"metrics-apm.app-0.4.0-apm_remove_span_metadata","type":"ingest_pipeline"},{"id":"metrics-apm.app-0.4.0-apm_user_agent","type":"ingest_pipeline"},{"id":"metrics-apm.app-0.4.0-apm_user_geo","type":"ingest_pipeline"},{"id":"metrics-apm.app-0.4.0","type":"ingest_pipeline"},{"id":"logs-apm.error-0.4.0-apm_data_stream_migration","type":"ingest_pipeline"},{"id":"logs-apm.error-0.4.0-apm_error_grouping_name","type":"ingest_pipeline"},{"id":"logs-apm.error-0.4.0-apm_ingest_timestamp","type":"ingest_pipeline"},{"id":"logs-apm.error-0.4.0-apm_metrics_dynamic_template","type":"ingest_pipeline"},{"id":"logs-apm.error-0.4.0-apm_remove_span_metadata","type":"ingest_pipeline"},{"id":"logs-apm.error-0.4.0-apm_user_agent","type":"ingest_pipeline"},{"id":"logs-apm.error-0.4.0-apm_user_geo","type":"ingest_pipeline"},{"id":"logs-apm.error-0.4.0","type":"ingest_pipeline"},{"id":"metrics-apm.internal-0.4.0-apm_data_stream_migration","type":"ingest_pipeline"},{"id":"metrics-apm.internal-0.4.0-apm_error_grouping_name","type":"ingest_pipeline"},{"id":"metrics-apm.internal-0.4.0-apm_ingest_timestamp","type":"ingest_pipeline"},{"id":"metrics-apm.internal-0.4.0-apm_metrics_dynamic_template","type":"ingest_pipeline"},{"id":"metrics-apm.internal-0.4.0-apm_remove_span_metadata","type":"ingest_pipeline"},{"id":"metrics-apm.internal-0.4.0-apm_user_agent","type":"ingest_pipeline"},{"id":"metrics-apm.internal-0.4.0-apm_user_geo","type":"ingest_pipeline"},{"id":"metrics-apm.internal-0.4.0","type":"ingest_pipeline"},{"id":"metrics-apm.profiling-0.4.0-apm_data_stream_migration","type":"ingest_pipeline"},{"id":"metrics-apm.profiling-0.4.0-apm_error_grouping_name","type":"ingest_pipeline"},{"id":"metrics-apm.profiling-0.4.0-apm_ingest_timestamp","type":"ingest_pipeline"},{"id":"metrics-apm.profiling-0.4.0-apm_metrics_dynamic_template","type":"ingest_pipeline"},{"id":"metrics-apm.profiling-0.4.0-apm_remove_span_metadata","type":"ingest_pipeline"},{"id":"metrics-apm.profiling-0.4.0-apm_user_agent","type":"ingest_pipeline"},{"id":"metrics-apm.profiling-0.4.0-apm_user_geo","type":"ingest_pipeline"},{"id":"metrics-apm.profiling-0.4.0","type":"ingest_pipeline"},{"id":"traces-sampled-0.4.0","type":"ingest_pipeline"},{"id":"traces-apm-0.4.0-apm_data_stream_migration","type":"ingest_pipeline"},{"id":"traces-apm-0.4.0-apm_error_grouping_name","type":"ingest_pipeline"},{"id":"traces-apm-0.4.0-apm_ingest_timestamp","type":"ingest_pipeline"},{"id":"traces-apm-0.4.0-apm_metrics_dynamic_template","type":"ingest_pipeline"},{"id":"traces-apm-0.4.0-apm_remove_span_metadata","type":"ingest_pipeline"},{"id":"traces-apm-0.4.0-apm_user_agent","type":"ingest_pipeline"},{"id":"traces-apm-0.4.0-apm_user_geo","type":"ingest_pipeline"},{"id":"traces-apm-0.4.0","type":"ingest_pipeline"},{"id":"metrics-apm.app","type":"index_template"},{"id":"metrics-apm.app@mappings","type":"component_template"},{"id":"metrics-apm.app@custom","type":"component_template"},{"id":"logs-apm.error","type":"index_template"},{"id":"logs-apm.error@mappings","type":"component_template"},{"id":"logs-apm.error@custom","type":"component_template"},{"id":"metrics-apm.internal","type":"index_template"},{"id":"metrics-apm.internal@mappings","type":"component_template"},{"id":"metrics-apm.internal@custom","type":"component_template"},{"id":"metrics-apm.profiling","type":"index_template"},{"id":"metrics-apm.profiling@mappings","type":"component_template"},{"id":"metrics-apm.profiling@custom","type":"component_template"},{"id":"traces-sampled","type":"index_template"},{"id":"traces-sampled@mappings","type":"component_template"},{"id":"traces-sampled@settings","type":"component_template"},{"id":"traces-sampled@custom","type":"component_template"},{"id":"traces-apm","type":"index_template"},{"id":"traces-apm@mappings","type":"component_template"},{"id":"traces-apm@custom","type":"component_template"}],"package_assets":[{"id":"22847369-bc2a-5aef-81b7-b83703e26ae1","type":"epm-packages-assets"},{"id":"97f583aa-8b7f-5171-be86-7ced92a4adf2","type":"epm-packages-assets"},{"id":"bf2b9eef-5bbe-5bf6-a0b6-f9e5267a9a5b","type":"epm-packages-assets"},{"id":"c94c580f-cb5e-514f-ab42-64dbf50a190f","type":"epm-packages-assets"},{"id":"5ed209fb-88e2-5203-96d7-32b3862565b8","type":"epm-packages-assets"},{"id":"a5ffa9ea-08f2-5ec8-8d53-c96b4f91c930","type":"epm-packages-assets"},{"id":"a35cae76-4afc-5d9b-ac35-77000d6982ee","type":"epm-packages-assets"},{"id":"dedf9b27-c953-5196-b8a5-8cd0f1867f64","type":"epm-packages-assets"},{"id":"3816de54-fa49-59b2-ad7f-b461fbd152c2","type":"epm-packages-assets"},{"id":"121092f4-68f5-5147-b242-818cdd23afcb","type":"epm-packages-assets"},{"id":"349c9037-9f54-53b9-bfc2-cca75d78d4eb","type":"epm-packages-assets"},{"id":"cd02af91-64f2-5787-8c9a-5923447a3aa9","type":"epm-packages-assets"},{"id":"acb325c9-12bf-5db2-b216-8489b687df31","type":"epm-packages-assets"},{"id":"588c393c-c3c6-5792-bb35-66b7df172084","type":"epm-packages-assets"},{"id":"c70e6bb9-e034-5fd4-9de1-1d59418c1fb6","type":"epm-packages-assets"},{"id":"ac085e47-4229-57b6-9dbc-3e5956354b9b","type":"epm-packages-assets"},{"id":"8dc97ad3-f882-5c6b-9c4b-0392f69fb622","type":"epm-packages-assets"},{"id":"e0bd9723-6fec-59d8-b692-bfce8c46b2fc","type":"epm-packages-assets"},{"id":"af6075e8-f18d-50f7-8999-18ea2826ad30","type":"epm-packages-assets"},{"id":"364669da-b0d6-53d7-9116-af3a08bbd144","type":"epm-packages-assets"},{"id":"f14a901c-b420-5c55-b8cb-330b24bcefad","type":"epm-packages-assets"},{"id":"1c029b5b-0453-5285-a7bd-d3ac4a5a49f0","type":"epm-packages-assets"},{"id":"1c6663f5-8ca6-5366-8936-9b8ea1297f48","type":"epm-packages-assets"},{"id":"707115ed-be24-5264-98f6-8e9c7b531b56","type":"epm-packages-assets"},{"id":"a460ac3c-a15f-53a0-bf1f-98a4a62e243e","type":"epm-packages-assets"},{"id":"f63dbbd2-b612-5705-8091-4eacf6f42a94","type":"epm-packages-assets"},{"id":"4cca3ca7-81b2-5bf3-9bde-bfbf75018165","type":"epm-packages-assets"},{"id":"fba1d22f-d26c-5561-85b1-f7181ed22483","type":"epm-packages-assets"},{"id":"db558d12-39ae-520f-b3de-dd61f2feb276","type":"epm-packages-assets"},{"id":"5d466ac6-b228-5cf0-b18b-56bce75045c3","type":"epm-packages-assets"},{"id":"f7439a7f-b2da-5b04-9eca-9d5f09c1f799","type":"epm-packages-assets"},{"id":"c596a4ae-d384-516a-a67b-d34e3aaf0b26","type":"epm-packages-assets"},{"id":"04b7b119-0e06-5aac-b1d3-a4aef469b3f0","type":"epm-packages-assets"},{"id":"6136f831-bbf5-5546-b38f-75fb1375c141","type":"epm-packages-assets"},{"id":"cdcb2a6f-0629-56f6-bcf0-9ac478a34603","type":"epm-packages-assets"},{"id":"349e645e-73bc-5e57-aeea-11788a564835","type":"epm-packages-assets"},{"id":"10b82f03-7793-5b32-9abd-d6bea3ae2117","type":"epm-packages-assets"},{"id":"772f53e8-5422-561b-b327-ca8c17aa71bb","type":"epm-packages-assets"},{"id":"ebad9d80-135a-5008-a1f1-688d8dddac3b","type":"epm-packages-assets"},{"id":"d4e7f2ff-a75b-52bb-b4c6-d86c7936e71e","type":"epm-packages-assets"},{"id":"c62a79d5-e334-5db8-ac77-dd4c92ada92e","type":"epm-packages-assets"},{"id":"90dd52aa-6866-5bfd-aaf4-4730617004f7","type":"epm-packages-assets"},{"id":"48116a17-8b36-5bd5-9227-1f2f50f5b526","type":"epm-packages-assets"},{"id":"5c25d73d-af32-56b2-9d51-062a34c48090","type":"epm-packages-assets"},{"id":"db1235f4-3a3d-52a7-bfa5-a902ff49093a","type":"epm-packages-assets"},{"id":"ac68daa2-66be-51bb-bccc-7336bdca951e","type":"epm-packages-assets"},{"id":"203e68c1-0089-595a-9a2b-990c31260486","type":"epm-packages-assets"},{"id":"f08337e0-0ba6-5ee3-8909-cc40dc89760b","type":"epm-packages-assets"},{"id":"d75ba8b9-1581-53c9-8078-3d72a422929a","type":"epm-packages-assets"},{"id":"4f578a2b-700f-51a3-9206-8f5a59c58856","type":"epm-packages-assets"},{"id":"5b428bcf-1f1a-5b04-9774-03b789079746","type":"epm-packages-assets"},{"id":"7c5b5429-0f82-53cc-ab44-bec0fab388b1","type":"epm-packages-assets"},{"id":"32413900-b204-5d34-9d68-767257ad6535","type":"epm-packages-assets"},{"id":"3967907b-37d2-5c5c-b6ec-7c93c09a48d8","type":"epm-packages-assets"},{"id":"588980f7-0a21-5a15-bca7-cb7c9bb5add7","type":"epm-packages-assets"},{"id":"d8b4702e-04f5-5785-ab90-e033520aafd7","type":"epm-packages-assets"},{"id":"622b230d-6bfc-5e0d-a09c-759025779ae1","type":"epm-packages-assets"},{"id":"fa16ddee-3805-502b-828b-0112afd3ca33","type":"epm-packages-assets"},{"id":"70d01380-a5cb-5f91-9a7b-ad65a80d24ee","type":"epm-packages-assets"},{"id":"66bb9a4d-5c48-5028-8c23-c997242cdb5f","type":"epm-packages-assets"},{"id":"0f6daf09-0b03-5d80-a40d-e6c7d0024f6f","type":"epm-packages-assets"},{"id":"02639dfd-b036-59fd-b1dc-751d3f0e8681","type":"epm-packages-assets"},{"id":"ea007082-c220-5d3b-829d-f6762c2031ee","type":"epm-packages-assets"},{"id":"ccd4de34-ceb3-598f-a40c-fa427b9e0059","type":"epm-packages-assets"},{"id":"12b50abb-87ea-5994-b58d-1c80bde714c4","type":"epm-packages-assets"},{"id":"02a076ea-cbd6-5f09-9454-1652541629bb","type":"epm-packages-assets"},{"id":"0eff6109-346a-56e7-8c4e-d152f7234877","type":"epm-packages-assets"},{"id":"bf6dfb86-861e-52aa-a06d-f16a01599bde","type":"epm-packages-assets"},{"id":"89b470b6-2c1b-5d67-9000-6903498df780","type":"epm-packages-assets"},{"id":"655eee6f-102b-5bd3-a8fb-2b1d595eb423","type":"epm-packages-assets"},{"id":"aa4949bc-d21a-50fd-ae14-a7e8a169c6dc","type":"epm-packages-assets"},{"id":"b11aa2fa-339f-51dd-bedb-9ab550d892eb","type":"epm-packages-assets"},{"id":"b27cdbe1-9bfb-5705-a0c7-df16655d6904","type":"epm-packages-assets"},{"id":"c9043978-e335-5921-84de-582a4897bd83","type":"epm-packages-assets"},{"id":"7b012962-e620-5f00-9512-f34c7f20f33d","type":"epm-packages-assets"},{"id":"7c61503b-bb41-5566-b8d3-e559c21d5d6e","type":"epm-packages-assets"},{"id":"2c6c2331-e488-5b4c-b039-c6881b06b499","type":"epm-packages-assets"},{"id":"bc6accd1-61cd-52bd-807e-e27d648ea7e2","type":"epm-packages-assets"},{"id":"9062aafe-fbf7-567c-a629-6c0034cd957e","type":"epm-packages-assets"},{"id":"6a63ce8b-0109-5bdd-887d-3aa0696ba10c","type":"epm-packages-assets"},{"id":"d34a4ff4-864c-57ff-b2b5-e338a7f1d866","type":"epm-packages-assets"}],"es_index_patterns":{"app_metrics":"metrics-apm.app.*-*","error_logs":"logs-apm.error-*","internal_metrics":"metrics-apm.internal-*","profile_metrics":"metrics-apm.profiling-*","sampled_traces":"traces-sampled-*","traces":"traces-apm-*"},"name":"apm","version":"0.4.0","internal":false,"removable":true,"install_version":"0.4.0","install_status":"installed","install_started_at":"2021-08-16T06:44:35.519Z","install_source":"registry"},"references":[],"migrationVersion":{"epm-packages":"7.14.0"},"coreMigrationVersion":"8.0.0"}}}

Any additional context:

In 8.0 if APM Server is run standalone, we will be relying on the integration package to be installed (importantly, for index templates and ingest pipelines to be created), prior to indexing any events. I would expect the package installation status to be most authoritative.

If the Elasticsearch assets are not installed when the APM Server thinks the package is fully installed, then it may index events before data stream index templates are installed and auto-create classic indices (with default dynamic mappings) instead.

See elastic/apm-server#5914 for background.

@axw axw added bug Fixes for quality problems that affect the customer experience Team:Fleet Team label for Observability Data Collection Fleet team labels Aug 16, 2021
@joshdover joshdover self-assigned this Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants