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


Release history Release notifications

This version
History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
logxstract-0.0.1-py3-none-any.whl (5.2 kB) Copy SHA256 hash SHA256 Wheel 3.6 Nov 4, 2017
logxstract-0.0.1.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None Nov 4, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page