Git Product home page Git Product logo

Comments (2)

bensadeh avatar bensadeh commented on July 22, 2024

Hi @frakman1 ,

tailspin works on a line-by-line basis, which means that it does not know about preceding or succeeding lines. This is by design, as it is a log file highlighter and log entries arrive one line at a time. So if you know for example that your logs are actually jsons, then a json viewer would be a better choice.

There seems to be some issues with encoding here. \n is interpreted as a new line, but in your example it looks as this is a raw string.

Can you please provide an example of input / output and what you expect to see? Since we are working on individual lines, you can just :

echo "Example string" | tspin

And then we can debug it one line at a time.

from tailspin.

frakman1 avatar frakman1 commented on July 22, 2024

I tried jq but it looks like this is not valid json either. It's a log file with its own key/value formatting.
The problem is that the Response fields are these massive strings with embedded \n and escape characters before every forward slash e.g. <\/propstat>\n \n<\/response>\n\n\n<\/multistatus>

Anyway, not sure if tailspin can help here. It was just one of the first log files I tried it with.

I also noticed that tailspin would not stop and wait for keyboard input when I tried it with this file. i.e cat <filename> | spin would run through all the way to the end. cat <filename> | more would wait for keyboard input.

The log file contains too mcuh sensitive information to redact and try to extract data from so unless you have a copy of the Mac's Fantastical 2 app, I'll close this issue and hope for the best. Thank you for your support!

from tailspin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.