Created
October 2, 2019 10:25
-
-
Save epifanio/8b1ee901e29334bdeab599cf39105b58 to your computer and use it in GitHub Desktop.
This file contains 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
>>> f = open('/var/log/tomcat8/localhost_access_log.2019-10-02.txt', 'r') | |
>>> st = f.read() | |
>>> urllib.parse.unquote(st) | |
'157.249.176.156 - - [02/Oct/2019:07:56:52 +0000] "GET /ometa/ometa?query={\n++++++++++++++++findAllAttributes(\n++++++++++++++++++datasetId:+"S2A_MSIL1C_20190827T105621_N0208_R094_T32VLQ_20190827T130152",+collection:+"nbs-l1"\n++++++++++++++++++++)+{\n++++++++++++++++++++++++name+value\n++++++++++++++++++++++++\n++++++++++++++++++++}\n+++++++++++++++} HTTP/1.0" 200 2593\n157.249.176.156 - - [02/Oct/2019:07:56:52 +0000] "GET /ometa/ometa?query={\n++++++++++++++++findAllVariables(\n++++++++++++++++++datasetId:+"S2A_MSIL1C_20190827T105621_N0208_R094_T32VLQ_20190827T130152",+collection:+"nbs-l1"\n++++++++++++++++++++)+{\n++++++++++++++++++++++++name\n+++++++++++++++++++++++++++++attributes+{\n+++++++++++++++++++++++++++++++name+value\n++++++++++++++++++++++++++++++++}\n++++++++++++++++++++}\n+++++++++++++++} HTTP/1.0" 200 37660\n157.249.176.156 - - [02/Oct/2019:08:16:19 +0000] "GET /ometa/ometa?query={\n++++++++++++++++findAllAttributes(\n++++++++++++++++++datasetId:+"S2A_MSIL1C_20190827T105621_N0208_R094_T32VLQ_20190827T130152",+collection:+"nbs-l1"\n++++++++++++++++++++)+{\n++++++++++++++++++++++++name+value\n++++++++++++++++++++++++\n++++++++++++++++++++}\n+++++++++++++++} HTTP/1.0" 200 2593\n157.249.176.156 - - [02/Oct/2019:08:16:20 +0000] "GET /ometa/ometa?query={\n++++++++++++++++findAllVariables(\n++++++++++++++++++datasetId:+"S2A_MSIL1C_20190827T105621_N0208_R094_T32VLQ_20190827T130152",+collection:+"nbs-l1"\n++++++++++++++++++++)+{\n++++++++++++++++++++++++name\n+++++++++++++++++++++++++++++attributes+{\n+++++++++++++++++++++++++++++++name+value\n++++++++++++++++++++++++++++++++}\n++++++++++++++++++++}\n+++++++++++++++} HTTP/1.0" 200 37660\n157.249.176.156 - - [02/Oct/2019:08:16:20 +0000] "GET /basketService?fiInterpolateProjString=+proj=utm++zone=33++ellps=GRS80++units=m++no_defs&fiInterpolateMethod=nearestneighbor&fiInterpolateXAxisMin=-13329.906086&fiInterpolateXAxisMax=110750.446688&fiInterpolateYAxisMin=6923468.200975&fiInterpolateYAxisMax=7022234.322508&fiInterpolateHorSteps=1000&wpsUrl=http://157.249.177.189/cgi-bin/pywps.cgi?service=wps&version=1.0.0&request=getCapabilities&userId=try&email=your@email.com&site=Satellittdata+for+Data+Management+Service&format=tgz&uri=http://nbstds.met.no/thredds/dodsC/NBS/S2A/2019/08/27/S2A_MSIL1C_20190827T105621_N0208_R094_T32VLQ_20190827T130152.nc&fiSelectVariables=B2&fiReducetimeStart=2019-10-02+10:16:20&fiReducetimeEnd=2019-10-02+10:16:20&fiOutputType=GeoTIFF&fiReduceboxNorth=63.118250128611&fiReduceboxSouth=62.090907721921&fiReduceboxEast=7.2701768291303&fiReduceboxWest=5.1426117671001 HTTP/1.0" 200 1483\n157.249.176.156 - - [02/Oct/2019:08:16:20 +0000] "GET /ometa/ometa?query={\n++++++++++++++++findAllAttributes(\n++++++++++++++++++datasetId:+"S2A_MSIL1C_20190827T105621_N0208_R094_T32VLQ_20190827T130152",+collection:+"nbs-l1"\n++++++++++++++++++++)+{\n++++++++++++++++++++++++name+value\n++++++++++++++++++++++++\n++++++++++++++++++++}\n+++++++++++++++} HTTP/1.0" 200 2593\n157.249.176.156 - - [02/Oct/2019:08:16:20 +0000] "GET /ometa/ometa?query={\n++++++++++++++++findAllVariables(\n++++++++++++++++++datasetId:+"S2A_MSIL1C_20190827T105621_N0208_R094_T32VLQ_20190827T130152",+collection:+"nbs-l1"\n++++++++++++++++++++)+{\n++++++++++++++++++++++++name\n+++++++++++++++++++++++++++++attributes+{\n+++++++++++++++++++++++++++++++name+value\n++++++++++++++++++++++++++++++++}\n++++++++++++++++++++}\n+++++++++++++++} HTTP/1.0" 200 37660\n' |
Author
epifanio
commented
Oct 2, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment