Hello
Help me parse the logs, I'm a beginner, I don't understand how to do it.
My log: {"bucket":"22-11-2023-test1111111111","time":"2024-04-15T10:01:53.539568Z","time_local":"2024-04-15T10:01:53.539568+0000","remote_addr":"10.1.106.86","object_owner":"<mark>lc</mark>-<mark>ogay_52511</mark>","user":"<mark>lc</mark>-<mark>ogay_52511</mark>","operation":"get_obj","uri":"HEAD /22-11-2023-test1111111111/Linux.txt HTTP/1.1","http_status":"200","error_code":"","bytes_sent":0,"bytes_received":0,"object_size":12771,"total_time":10,"user_agent":"S3 Browser/11.5.7 (https://s3browser.com)","referrer":"","trans_id":"tx000009bb45168c7caae9b-00661cfb11-14c2ce9-second","authentication_type":"Local","access_key_id":"VT534608KBQHA5A595U2P","temp_url":false}
The first version json/prune is better in case you decide to have all fields or change white_list.
The grok is simpler in case of you need only one field.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.