Last active
October 10, 2017 07:09
-
-
Save jialechan/9d4b42d55a0321683d2c651d5dda0c37 to your computer and use it in GitHub Desktop.
LogAnalytics配套nginx的配置文件
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
... | |
log_format chatLog 'T[$time_iso8601] STAT[$status] REQ_T[$upstream_response_time] URL[$request]'; | |
... | |
server { | |
... | |
access_log logs/xxx.access.log chatLog; | |
... | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment