Use valid function name in functionbeat tutorial (#39644) (#42342)

Function names cannot contain underscores.
This commit is contained in:
Tudor Golubenco 2019-07-31 16:45:04 +03:00 committed by GitHub
parent 130b048500
commit 92b875dffe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ Kibana index pattern. It is normally safe to omit this command.',
}),
commands: [
'./functionbeat setup',
'./functionbeat deploy fn_cloudwatch_logs',
'./functionbeat deploy fn-cloudwatch-logs',
]
},
WINDOWS: {
@ -102,7 +102,7 @@ Kibana index pattern. It is normally safe to omit this command.',
}),
commands: [
'.\\functionbeat.exe setup',
'.\\functionbeat.exe deploy fn_cloudwatch_logs',
'.\\functionbeat.exe deploy fn-cloudwatch-logs',
],
},
},
@ -217,7 +217,7 @@ export function functionbeatEnableInstructions() {
});
const defaultCommands = [
'functionbeat.provider.aws.functions:',
' - name: fn_cloudwatch_logs',
' - name: fn-cloudwatch-logs',
' enabled: true',
' type: cloudwatch_logs',
' triggers:',