-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] hide remote es output in serverless #171378
[Fleet] hide remote es output in serverless #171378
Conversation
Pinging @elastic/fleet (Team:Fleet) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
We could, I am curious what happen if we add a remote non serverless ES output it will work no? |
@@ -87,10 +87,12 @@ export const EditOutputFlyout: React.FunctionComponent<EditOutputFlyoutProps> = | |||
const { kafkaOutput: isKafkaOutputEnabled, remoteESOutput: isRemoteESOutputEnabled } = | |||
ExperimentalFeaturesService.get(); | |||
const isRemoteESOutput = inputs.typeInput.value === outputType.RemoteElasticsearch; | |||
// Remote ES output not yet supported in serverless | |||
const isTraditionalBuildFlavor = useKibanaBuildFlavor() === 'traditional'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also use cloudSetup.isServerlessEnabled
to check if it's serverless, I am wondering if there is one that is better than the other, and we should probably stick to one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh right, I forgot about that, it is simpler to use that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
I haven't tested it, and we might have some issues that we haven't thought about, so probably better to restrict. |
8a2641f
to
b3a49c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Added the API validation for serverless, will add some tests on it next week. |
💛 Build succeeded, but was flaky
Failed CI Steps
Test Failures
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
@elasticmachine run elasticsearch-ci/docs |
1 similar comment
@elasticmachine run elasticsearch-ci/docs |
Summary
Relates #104986
Hide Remote Elasticsearch output in serverless from Create/Edit output flyout.
Should we also add validation to prevent creating it in API?
Verified locally by starting kibana in serverless mode:
Checklist