Ingest a text file as a single log with the help of filebeat

I want to ingest a text file as a single log in elasticsearch any input would be really appreciated

Best Regards
Shrikant

Just so I'm clear, you want to ingest the entire text file as a single log entry, as in a single document in Elasticsearch? If so, you might want to try adjusting the multiline settings in Filebeat appropriately.

@shaunak,
Thankyou Yes I did the same
I adjusted multiline.

If possible can you suggest me any way to compare two config file with the help of ELK Stack