Show certain logs on dashboard

Hi,
I’ve just start a new grafana+es with following specs :
elasticsearch:6.5.4
grafana:5.4.3
datas:some logs from mail system

I’m wondering if there’s a way to show some certain logs on grafana dashboard,eg err connection.
not in count,but error log details,for example:
2019-02-12 00:00:23|2019-02-12 00:00:51|smtp|.44.217|.11.89|*.44.217|1|7440|spf|soft fail

thanks in advance