Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Log file viewer

Does anyone know of a program that will show the Astaro log files in some sort of formatted view?  

As seen on the Astaro itself, it just looks like gibberish.


This thread was automatically locked due to age.
  • WHICH log file do you mean looks like glibberish?
    with what editor/viewer do you look at the log files?

    The Astaro logs are plain ascii text file, but with unix-style line feeds. If you use editor like windows "notepad.exe", it will not display the line feeds correctly. Try using a different editor, like "wordpad", Winword or something else.
  • Notepad++ is a free download.  It is a tremendous replacement for the weak Windows program, and it correctly formats the Astaro logfiles.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • I was looking at the packet filter log - even on the Astaro interface, the line feeds appear to be missing.
    Leave it to me to assume there's some special viewer that only I am unaware of - I'll try Wordpad, but also take a look at Notepad++.  The only reason I like notepad is tht it's on every Windows computer, and the files don't get "reformatted" if you create them in Wordpad and then open them in Word.

    Thanks!
  • Hi, the live log may not format very well if you try to copy it, but you can download logs from webadmin also.

    Barry
  • Notepad++ is a free download.  It is a tremendous replacement for the weak Windows program, and it correctly formats the Astaro logfiles.

    Cheers - Bob


    Bob - I have been looking for a decent viewer for some time, and I have to say this is the best I have seen so far - thanks.

    FB
  • Wordpad works fine... just associate .log files with it and you should be good to go.

    CTO, Convergent Information Security Solutions, LLC

    https://www.convergesecurity.com

    Advice given as posted on this forum does not construe a support relationship or other relationship with Convergent Information Security Solutions, LLC or its subsidiaries.  Use the advice given at your own risk.

  • Notepad++ is a free download.  It is a tremendous replacement for the weak Windows program, and it correctly formats the Astaro logfiles.

    Cheers - Bob



    Hi BAlfson,

    Thanks. Notepad++ really nice software for log viewer.

    But How can we understand from log that, Which website page is open by user because from log file, we can easily Identify Date, Time, User, IP address but could not understand website link or website page because it contain some extra information with website link.

    So Is there any way to understand which website page is open by user?

    e.g.
    Log file contain:

    1) Line 200967: 2014:03:24-18:39:49 Swaminarayan_Aksharpith-1 httpproxy[6405]: id="0001" severity="info" sys="SecureWeb" sub="http" name="http access" action="pass" method="GET" srcip="192.168.100.205" dstip="74.125.236.105" user="" statuscode="403" cached="0" profile="REF_DefaultHTTPProfile (Default Proxy)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="1740" request="0xec55538" url="http://redirector.googlevideo.com/videoplayback?id=8c63f24ef2dadef5&itag=22&source=picasa&cmo=sensitive_content%3Dyes&ip=0.0.0.0&ipbits=0&expire=1390964471&sparams=id,itag,source,ip,ipbits,expire&signature=4A8BE04B8D0B511306A204A29759E7E4FEC1A646.7EBCA1EA2CDF9EF4D054B450D3B27DF00DCC17B9&key=lh1" exceptions="auth,ssl,certcheck,certdate,cache" error="" category="147,179" reputation="unverified" categoryname="Streaming Media,Media Sharing" content-type="text/html" application="googvido"

    2)2014:03:24-00:34:57 Swaminarayan_Aksharpith-1 httpproxy[6405]: id="0001" severity="info" sys="SecureWeb" sub="http" name="http access" action="pass" method="POST" srcip="192.168.24.4" dstip="74.125.200.102" user="gujaratidtp" statuscode="204" cached="0" profile="REF_HttProGeneraUser (General User)" filteraction="REF_HttCffGeneraUser (General User)" size="523" request="0xcf13968" url="http://s.youtube.com/api/stats/atr?cbr=Chrome&ns=yt&rt=5.112&plid=AAT1SssBif_phoAC&cbrver=33.0.1750.154&el=detailpage&cc=-&ei=UTAvU4jYBcWekQX_8YHIDg&fmt=160&len=31.98&hl=en-GB&fs=0&docid=fQwhsdokfyU&cosver=6.1&cpn=3eUScoh2SM1vR3vc&cver=as3&ver=2&cos=Windows&c=WEB&cmt=4.602&cr=IN" exceptions="" error="" reputation="neutral" category="147,179" reputation="neutral" categoryname="Streaming Media,Media Sharing"
  • look for url="http(s)://*".
    1)  url="redirector.googlevideo.com/videoplayback

    this could be youtube(not sure). look for related logs(same source) above this one.
    2)User gujaratidtp visited youtube at 2014:03:24-00:34:57 from the PC at 192.168.24.4.

    I resolved it by cutting out the unneccesary information using a few search&replace commands in MS Excel. If I am done, it leaves me with the following information:
    2014:03:24-00:34:57 action="pass" 
    srcip="192.168.24.4" dstip="74.125.200.102" user="gujaratidtp" profile="REF_HttProGeneraUser (General User)" filteraction="REF_HttCffGeneraUser (General User)" url="s.youtube.com/”exceptions="" error="" category="147,179" categoryname="Streaming Media,Media Sharing"

    this is split to different columns, which makes it easily readable. 
    also, I use excel' conditional formatting to hide empty columns(for example, I consider user="" empty, but user="any username", not.).

    it takes a while to process a lot of lines, and might take a while(too long for certain companies), but it does the job quiet right.
    I want to move to Notepad++ too, but I can't figure the regular expressions there
  • Thanks FrankBarmentlo,

    It is fine and I know that we have to split log into different columns for easily read and understand but my ultimate question is related to website page or website link which is used by user.

    Any other free software there for distinguish website links or page.
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?