the problem there is that when you used the coomand you left this: [ / ] and you have to delete the [ . ] of the path settings in your command.
sudo bin/logstash --path.settings. /etc/logstash --path.data sensor39 -f /home/sayed/logstash/sayed.conf
it's not like that.
it's like this:
sudo bin/logstash --path.settings /etc/logstash/ --path.data sensor39 -f /home/sayed/logstash/sayed.conf
And please post the /etc/logstash/log4j2 configuration