I am creating the logs and pushing to logstash. The date format of the logstash server is of the below destination form. In the Linux server, I can use the date command to convert the local date/time to log file. How to use the date command to get the below format in the Linux server. What is the format of the below command? I can set the format as TZ='CEST' date +"%field". I tried to set few format specifies but could not get the string 'th' in the date of the month. Also I don't understand the last field '221' in the date. Any help ?
destination server format: August 4th 2017, 22:30:45.221