FAQ
Howdy Gophers,

Is there anyway of getting web access statistics from a pure golang server
(built in a way as described in this article
http://golang.org/doc/articles/wiki/)? e.g. number of unique visits, per
day statistics, region statistics. How would one go about building this
feature in a golang webserver?

Note that there is no front-end apache server nor nginx server.

regards,

William

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Ingo Oeser at Apr 24, 2014 at 9:22 am
    Add Google Analytics snippets to the site might be easiest.

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Aaron Blohowiak at Apr 24, 2014 at 3:38 pm
    You could add apache logging and then use those logs with any large number
    of log analysis tools. A quick googling turned this up:
    https://gist.github.com/cespare/3985516

    On Thursday, April 24, 2014 12:34:34 AM UTC-6, will wrote:

    Howdy Gophers,

    Is there anyway of getting web access statistics from a pure golang server
    (built in a way as described in this article
    http://golang.org/doc/articles/wiki/)? e.g. number of unique visits, per
    day statistics, region statistics. How would one go about building this
    feature in a golang webserver?

    Note that there is no front-end apache server nor nginx server.

    regards,

    William
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Matt Silverlock at Apr 26, 2014 at 12:38 am
    To expand on this, https://github.com/gorilla/handlers offers some
    middleware that writes in the Apache log format.
    On Thursday, April 24, 2014 11:38:14 PM UTC+8, Aaron Blohowiak wrote:

    You could add apache logging and then use those logs with any large number
    of log analysis tools. A quick googling turned this up:
    https://gist.github.com/cespare/3985516

    On Thursday, April 24, 2014 12:34:34 AM UTC-6, will wrote:

    Howdy Gophers,

    Is there anyway of getting web access statistics from a pure golang
    server (built in a way as described in this article
    http://golang.org/doc/articles/wiki/)? e.g. number of unique visits, per
    day statistics, region statistics. How would one go about building this
    feature in a golang webserver?

    Note that there is no front-end apache server nor nginx server.

    regards,

    William
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedApr 24, '14 at 6:34a
activeApr 26, '14 at 12:38a
posts4
users4
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase