Skip to main content

Library for extracting xml from logs to output file.

Project description

Library for extracting xml from logs. Finds xml matching criteria and saves results to file.

Install

$ pip install logxstract

Usage as library

from logxstract import extract_xml_from_file

extract_xml_from_file(
    path='/item',
    body='/item',
    input_file='sample.log',
    output_file='result.txt'
)
#extracted xml is now in result.txt file

Usage in shell

$ logxtract -p /item -b /item -f sample.log -o result.txt

History

0.0.1 (2017-11-04)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logxstract-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

logxstract-0.0.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file logxstract-0.0.1.tar.gz.

File metadata

  • Download URL: logxstract-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for logxstract-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b2e611e0c393f8224365d02648d1355fb9fdcb00a770f7ae0142acf46e548b4d
MD5 3348e40f153871c5add6f0ffa6f5e712
BLAKE2b-256 378f63aca5e6a026c6a890f442bcbe57707e6888d9a9b5d67f4bb23178423633

See more details on using hashes here.

File details

Details for the file logxstract-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for logxstract-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 650787906eaff99f20d6d0405190d7945d857a92831b731bc03fdc3b25d691e4
MD5 083452659d8f74486a977eab2557d939
BLAKE2b-256 11b718c710b0248d1a3f395814fd038bf2049d23fef85007e3bb96f689344df8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page