I want to receive events from the erlang module and for that execute the following commands

[root@fs1 xml]# erl -sname test -setcookie ClueCon
Erlang/OTP 17 [erts-6.2.1] [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V6.2.1  (abort with ^G)
(test@fs1)1>  {foo, fs1@fs1} ! {event, 'CHANNEL_CREATE'}, receive Y -> Y after 1000 -> timeout end. 
ok
(test@fs1)2> 


And second way
[root@fs1 xml]# erl -sname test -setcookie ClueCon
Erlang/OTP 17 [erts-6.2.1] [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V6.2.1  (abort with ^G)
(test@fs1)1>  {foo, fs1@fs1} ! {event, 'ALL'}.
{event,'ALL'}
(test@fs1)2> receive Y -> Y after 1000 -> timeout end.
ok
(test@fs1)3>

And I can not get events.
What am I doing wrong?