Skip to content

Commit

Permalink
Onboarding: Remove virtual firehose card (#183929)
Browse files Browse the repository at this point in the history
As the firehose integration is GA now and includes all relevant
documentation, it's not necessary to have a link to the docs page from
the onboarding flow:
https://www.elastic.co/guide/en/kinesis/current/aws-firehose-setup-guide.html

This PR removes it
  • Loading branch information
flash1293 authored May 23, 2024
1 parent 47293f7 commit f5b93d5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ import { CustomCard } from '../packages_list/types';

export function useVirtualSearchResults(): CustomCard[] {
const {
services: { application, http },
services: { application },
} = useKibana();
const getUrlForApp = application?.getUrlForApp;
const basePath = http?.basePath;

return [
{
Expand Down Expand Up @@ -43,30 +42,5 @@ export function useVirtualSearchResults(): CustomCard[] {
integration: '',
isCollectionCard: false,
},
{
id: 'aws-firehose-virtual',
type: 'virtual',
title: i18n.translate('xpack.observability_onboarding.packageList.amazonFirehoseTitle', {
defaultMessage: 'Amazon Firehose',
}),
description: i18n.translate(
'xpack.observability_onboarding.packageList.amazonFirehoseDescription',
{
defaultMessage: 'Collect Amazon Firehose logs.',
}
),
name: 'aws-firehose',
categories: [],
icons: [
{
type: 'svg',
src: basePath?.prepend('/plugins/observabilityOnboarding/assets/aws_firehose.svg') ?? '',
},
],
url: 'https://www.elastic.co/guide/en/kinesis/current/aws-firehose-setup-guide.html',
version: '',
integration: '',
isCollectionCard: false,
},
];
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,7 @@ interface WizardState {
logFilePaths: string[];
namespace: string;
customConfigurations: string;
logsType?:
| 'system'
| 'sys'
| 'http-endpoint'
| 'opentelemetry'
| 'amazon-firehose'
| 'log-file'
| 'service';
logsType?: 'system' | 'sys' | 'http-endpoint' | 'opentelemetry' | 'log-file' | 'service';
uploadType?: 'log-file' | 'api-key';
elasticAgentPlatform: 'linux-tar' | 'macos' | 'windows' | 'deb' | 'rpm';
autoDownloadConfig: boolean;
Expand Down

This file was deleted.

0 comments on commit f5b93d5

Please sign in to comment.