Menu

adding filters on output reports

2004-09-30
2012-10-11
  • Nobody/Anonymous

    Hi, I am a newbie and need help setting filter on my urldetail output report. What I need is to have a report on several pages only. In the instructions it says: "filter can be a regexp on the full key you want awstats to present information about". How do I separate my keys - e.g., I want a report containing the following pages:
    index.html, documents.html and idl.cgi?
    Thanks.

     
    • Thorsten Franzke

      Do this:

      ^(index.html|documents.html|idl.gi)

      Should work fine.

      Alternatively you could search for .html and .cgi
      ^(.html|.cgi)

      Have a look at this site, it's an excellent tutorial on regex:

      http://www.regular-expressions.info/tutorial.html

       

Log in to post a comment.