File log Plugin Error through Kong Ingress

hello
i am not able to enable file log plugin in kong ingress however the same plugin is working with kong API gateway
but whenver i tried to use in ingress as resource kongplugin and in ingress having some error like below

err creating a Kong plugin {{{ } { 0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[] [] nil [] } [] 0 0} file-log.plugin map[path:/tmp/file.log] false 6b535525-15ef-408b-8d90-927135f04630 } in service 169e4e4b-ee2d-4dca-856c-1115ab93e755: json: cannot unmarshal string into Go struct field Plugin.config of type v1.Configuration

Thanks for your help

This error is due to configuration issue.

apiVersion: v1
kind: Service
metadata:
name: oidc-test-service
namespace: jwks
annotations:
file-log.plugin.plugin.konghq.com: file-log-plugin
spec:
type: ExternalName
externalName: httpbin.org

changed to

apiVersion: v1
kind: Service
metadata:
name: oidc-test-service
namespace: jwks
annotations:
file-log.plugin.konghq.com: file-log-plugin
spec:
type: ExternalName
externalName: httpbin.org

working fine