{ "info": { "author": "Thomas Leichtfuss", "author_email": "thomaslfuss@gmx.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7", "Topic :: System :: Logging", "Topic :: System :: Systems Administration", "Topic :: Utilities" ], "description": "logscan\n=========\n\nlogscan is a command-line-tool to get time-specific access to logfiles.\nIt can handle rotated and gzipped logfiles or reads from stdin. The log\nis automatically checked for different timecodes.\n\n\nLatest Version\n--------------\nThe latest version of this project can be found at : http://github.com/thomst/logscan.\n\n\nInstallation\n------------\n* Option 1 : Install via pip ::\n\n pip install logscan\n\n* Option 2 : If you have downloaded the source ::\n\n python setup.py install\n\n\nDocumentation\n-------------\nlogscan --help ::\n\n usage: \n logscan -h\n logscan [LOGFILE] [OPTIONS]\n\n description:\n Get time-specific access to logfiles.\n\n logscan is able to handle rotated and/or gzipped logfiles or to read stdin.\n It supports several formats for time-information in the log, and checks the\n logfiles automatically for them. You can also specify further formats in\n logscan.conf.\n\n\n positional argument:\n LOGFILE If LOGFILE is missing or '-' stdin is read instead.\n\n optional arguments:\n -h, --help print this help message and exit\n -i, --info print the number of files, the start-time and end-time\n -c, --timecode TIMECODE use TIMECODE to parse the log-times (e.g. \"%Y-%m-%d %H:%M:%S\")\n -g, --grep PATTERN print only lines where PATTERN was found\n -d, --date DATE print all log-entries of DATE\n\n arguments for times:\n -d, --date DATE print all log-entries of DATE\n -t, --time [DATE] TIME specify a point of time; use it twice to specify\n a start- and end-time\n\n argruments for durations:\n -p, --plus [WEEKS] [DAYS] [HOURS] [MINUTES] [SECONDS]\n -m, --minus [WEEKS] [DAYS] [HOURS] [MINUTES] [SECONDS]\n\n\n times (DATE and TIME):\n DATE and TIME could be in any format. Logscan tries hard to interpret the input\n as valid date or time.\n If DATE is omitted for --time logscan uses the date of the last log-entry.\n If DATE is incomplete logscan completes it with the year or the year and month\n of the actual date.\n\n\n durations:\n To specify a positive duration use --plus, for a negative use --minus.\n All values are interpreted as weeks, days, hours, minutes or seconds -in this\n order starting with days. Alternatively you can flag the values with letters\n matching those keywords.\n So to specify a positive duration of 3 days and 4 minutes you can either do\n \"--plus 3 0 4\" or --plus 3d 4m.\n\n\n Which period to print is defined as follows:\n no times and no duration: from start to eof\n one time and no duration: from time to eof\n two times and no duration: from time-one to time-two\n no times and positive duration: form start to end of duration\n no times and negative duration: from begin of duration to eof\n one time and positive duration: from time to end of duration\n one time and negative duration: from begin of duration to time\n\n\n time-code-formats:\n logscan checks a log-file automatically for these formats:\n %Y-%m-%d %H:%M:%S\n %b %d %X %Y\n %b %d %X\n %s\n Also a timestamp as total amount of seconds since epoche (1970-01-01 00:00:00 UTC)\n is supported. logscan expects for it a ten-digit decimal with three decimal-places.\n To specify further format-codes use logscan.conf. logscan uses either the first\n format that fits or an explicitly with --timecode given format.\n A list of all available format-codes can be recieved from 'date --help'.\n\n\nContribution\n------------\nEvery kind of feedback is very welcome.\n\n\nReporting Bugs\n--------------\nPlease report bugs at github issue tracker:\nhttps://github.com/thomst/logscan/issues\n\n\nAuthor\n------\nthomst \nThomas Leichtfu\u00df\n\n* http://github.com/thomst", "description_content_type": null, "docs_url": null, "download_url": "https://pypi.python.org/packages/source/l/logscan/logscan-0.5.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/thomst/logscan", "keywords": "logfile logfiles log time-specific access rotated scan", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "logscan", "package_url": "https://pypi.org/project/logscan/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/logscan/", "project_urls": { "Download": "https://pypi.python.org/packages/source/l/logscan/logscan-0.5.1.tar.gz", "Homepage": "https://github.com/thomst/logscan" }, "release_url": "https://pypi.org/project/logscan/0.5.1/", "requires_dist": null, "requires_python": null, "summary": "Command-line-tool to get time-specific access to log-files.", "version": "0.5.1" }, "last_serial": 1040752, "releases": { "0.2.1": [], "0.2.2": [], "0.2.3": [], "0.3": [ { "comment_text": "", "digests": { "md5": "51b7599548f32c7915ce0deb9fbea985", "sha256": "4c82bea3ea1ad0ff0f7014d08c51098a5252c56f0607a2de918a9df3592a24dd" }, "downloads": -1, "filename": "logscan-0.3.tar.gz", "has_sig": false, "md5_digest": "51b7599548f32c7915ce0deb9fbea985", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6303, "upload_time": "2013-04-13T22:32:11", "url": "https://files.pythonhosted.org/packages/ce/51/dcbac1f7f217be2b903e5656c55105f6ad4fe17283702963a77d61ff49ee/logscan-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "fab0d885aa7d7d37fd57d6a6c87668a8", "sha256": "a0f4ea18be82a95aff8af7b89178925419e6e7521719fabd0fc3ca953b8f11e8" }, "downloads": -1, "filename": "logscan-0.3.1.tar.gz", "has_sig": false, "md5_digest": "fab0d885aa7d7d37fd57d6a6c87668a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6507, "upload_time": "2013-04-24T16:59:56", "url": "https://files.pythonhosted.org/packages/77/e8/7db5de125b0df489db3e0d88cbedc6f824a0e110e6348633d93832394b7e/logscan-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "1b678fae75aeb8f3d8fbaaa862f84fd3", "sha256": "82f019522c6db7bc08ae10ec583da2c5ed71714d182bc003e97813ae3eef2caa" }, "downloads": -1, "filename": "logscan-0.3.2.tar.gz", "has_sig": false, "md5_digest": "1b678fae75aeb8f3d8fbaaa862f84fd3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6488, "upload_time": "2013-04-24T19:20:13", "url": "https://files.pythonhosted.org/packages/dc/7b/bf14370699dc11dec39ee17bf606a112d71eb359d15f760169e07ff37bdc/logscan-0.3.2.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "f16054d776b9f039d57ae3cfd3465117", "sha256": "d481843e5f070477455c3a9142ccc0ac62f6737d00ee45e4d3a82872acb92b57" }, "downloads": -1, "filename": "logscan-0.4.1.tar.gz", "has_sig": false, "md5_digest": "f16054d776b9f039d57ae3cfd3465117", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6539, "upload_time": "2013-05-04T08:55:52", "url": "https://files.pythonhosted.org/packages/58/51/4d83fcf1163d75c7751a07905c7264608e60892ab4682b7c27037cfb9153/logscan-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "151451895ceccd72101ed0f196461b3c", "sha256": "0789ea69247786bec058ec0b6af29d757de717ab3ceaddc665482e5d922ebb8c" }, "downloads": -1, "filename": "logscan-0.4.2.tar.gz", "has_sig": false, "md5_digest": "151451895ceccd72101ed0f196461b3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6529, "upload_time": "2013-07-25T09:13:26", "url": "https://files.pythonhosted.org/packages/4d/8b/ecee3e20b7a0dd0c1cdd040e86a5233e2f353abe83bf6442fc86378d4de2/logscan-0.4.2.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "ac06742f50f8abfac8052496f86ed21c", "sha256": "6fe317e952eb9900c1aa994432dcaaf92757fdadac1954faf16b723973a779a5" }, "downloads": -1, "filename": "logscan-0.5.0.tar.gz", "has_sig": false, "md5_digest": "ac06742f50f8abfac8052496f86ed21c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6594, "upload_time": "2013-07-25T21:26:17", "url": "https://files.pythonhosted.org/packages/74/89/6ab887cd8f28683013a443347cbab49700fe660850a4fe442b644d060367/logscan-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "9899ddca58dfff409f563093c8dcbc2b", "sha256": "016f25cb637360563654bc376b192b7e720cea78142116c959da22c51784942b" }, "downloads": -1, "filename": "logscan-0.5.1.tar.gz", "has_sig": false, "md5_digest": "9899ddca58dfff409f563093c8dcbc2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6554, "upload_time": "2014-02-22T11:14:59", "url": "https://files.pythonhosted.org/packages/07/a9/699957cde419a11423a14e394c25dd92969f2da7c1ed79946f0de440393d/logscan-0.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9899ddca58dfff409f563093c8dcbc2b", "sha256": "016f25cb637360563654bc376b192b7e720cea78142116c959da22c51784942b" }, "downloads": -1, "filename": "logscan-0.5.1.tar.gz", "has_sig": false, "md5_digest": "9899ddca58dfff409f563093c8dcbc2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6554, "upload_time": "2014-02-22T11:14:59", "url": "https://files.pythonhosted.org/packages/07/a9/699957cde419a11423a14e394c25dd92969f2da7c1ed79946f0de440393d/logscan-0.5.1.tar.gz" } ] }