Exapmle of data reading not from log but from keyboard (stdin)

hi everyone, can you help i need to get data from keyboard text and display the data containing the word "cat" on kibana how can i do that, it will be veru helpful if yo give the content of logstach and how to read the user data from keyvboard

Please do not post duplicate topics.