Import xml file in to Elasticsearch through logstash

actual error log was:-

LogStash::ConfigurationError: translation missing: en.logstash.agent.configuration.invalid_plugin_register

The above error with logstash 5.0.0
As per logstash 5.0.1 release note above error was resolved in 5.0.1 version
https://www.elastic.co/guide/en/logstash/current/logstash-5-0-1.html

Now I am using 5.0.2 version and getting below error with same conf and data file

ipeline aborted due to error {:exception=>#LogStash::ConfigurationError: Cannot register filter xml plugin. The error reported is: When the 'store_xml' configuration option is true, 'target' must also be set>,

Please correct me If I doing anything wrong