How to write statistic data to file?

Is there any method to write the application statistic data to file while writing data to mongo?




1 comment
  • Hi Felix,

    You can do that by writing a plugin, or redirecting a copy of the data from Nginx to your external file or database. However note that granular data itself gets parsed and converted to meaningful data before being written to MongoDB, thus writing a data to a file or another DB would be (primarily) for backup purposes.

    Here is how to write a plugin:

    We have a specific plugin for this for Enterprise Edition customers. If you would like to learn more, please get in touch with us.

    Many thanks.

    Comment actions Permalink

Please sign in to leave a comment.