{
    "content": [
        {
            "type": "text",
            "text": "# Log::Log4perl::Appender::RRDs (perldoc)\n\n## NAME\n\nLog::Log4perl::Appender::RRDs - Log to a RRDtool Archive\n\n## SYNOPSIS\n\nuse Log::Log4perl qw(getlogger);\nuse RRDs;\nmy $DB = \"myrrddb.dat\";\nRRDs::create(\n$DB, \"--step=1\",\n\"DS:myvalue:GAUGE:2:U:U\",\n\"RRA:MAX:0.5:1:120\");\nprint time(), \"\\n\";\nLog::Log4perl->init(\\qq{\nlog4perl.category = INFO, RRDapp\nlog4perl.appender.RRDapp = Log::Log4perl::Appender::RRDs\nlog4perl.appender.RRDapp.dbname = $DB\nlog4perl.appender.RRDapp.layout = Log::Log4perl::Layout::PatternLayout\nlog4perl.appender.RRDapp.layout.ConversionPattern = N:%m\n});\nmy $logger = getlogger();\nfor(10, 15, 20, 25) {\n$logger->info($);\nsleep 1;\n}\n\n## DESCRIPTION\n\n\"Log::Log4perl::Appender::RRDs\" appenders facilitate writing data to RRDtool round-robin\narchives via Log4perl. For documentation on RRD and its Perl interface \"RRDs\" (which comes with\nthe distribution), check out <http://rrdtool.org>.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **LICENSE**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Log::Log4perl::Appender::RRDs",
        "section": "",
        "mode": "perldoc",
        "summary": "Log::Log4perl::Appender::RRDs - Log to a RRDtool Archive",
        "synopsis": "use Log::Log4perl qw(getlogger);\nuse RRDs;\nmy $DB = \"myrrddb.dat\";\nRRDs::create(\n$DB, \"--step=1\",\n\"DS:myvalue:GAUGE:2:U:U\",\n\"RRA:MAX:0.5:1:120\");\nprint time(), \"\\n\";\nLog::Log4perl->init(\\qq{\nlog4perl.category = INFO, RRDapp\nlog4perl.appender.RRDapp = Log::Log4perl::Appender::RRDs\nlog4perl.appender.RRDapp.dbname = $DB\nlog4perl.appender.RRDapp.layout = Log::Log4perl::Layout::PatternLayout\nlog4perl.appender.RRDapp.layout.ConversionPattern = N:%m\n});\nmy $logger = getlogger();\nfor(10, 15, 20, 25) {\n$logger->info($);\nsleep 1;\n}",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 27,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 17,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Log::Log4perl::Appender::RRDs - Log to a RRDtool Archive\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Log::Log4perl qw(getlogger);\nuse RRDs;\n\nmy $DB = \"myrrddb.dat\";\n\nRRDs::create(\n$DB, \"--step=1\",\n\"DS:myvalue:GAUGE:2:U:U\",\n\"RRA:MAX:0.5:1:120\");\n\nprint time(), \"\\n\";\n\nLog::Log4perl->init(\\qq{\nlog4perl.category = INFO, RRDapp\nlog4perl.appender.RRDapp = Log::Log4perl::Appender::RRDs\nlog4perl.appender.RRDapp.dbname = $DB\nlog4perl.appender.RRDapp.layout = Log::Log4perl::Layout::PatternLayout\nlog4perl.appender.RRDapp.layout.ConversionPattern = N:%m\n});\n\nmy $logger = getlogger();\n\nfor(10, 15, 20, 25) {\n$logger->info($);\nsleep 1;\n}\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "\"Log::Log4perl::Appender::RRDs\" appenders facilitate writing data to RRDtool round-robin\narchives via Log4perl. For documentation on RRD and its Perl interface \"RRDs\" (which comes with\nthe distribution), check out <http://rrdtool.org>.\n\nMessages sent to Log4perl's RRDs appender are expected to be numerical values (ints or floats),\nwhich then are used to run a \"rrdtool update\" command on an existing round-robin database. The\nname of this database needs to be set in the appender's \"dbname\" configuration parameter.\n\nIf there's more parameters you wish to pass to the \"update\" method, use the \"rrdupdparams\"\nconfiguration parameter:\n\nlog4perl.appender.RRDapp.rrdupdparams = --template=in:out\n\nTo read out the round robin database later on, use \"rrdtool fetch\" or \"rrdtool graph\" for\ngraphic displays.\n",
                "subsections": []
            },
            "LICENSE": {
                "content": "Copyright 2002-2013 by Mike Schilli <m@perlmeister.com> and Kevin Goess <cpan@goess.org>.\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Please contribute patches to the project on Github:\n\nhttp://github.com/mschilli/log4perl\n\nSend bug reports or requests for enhancements to the authors via our\n\nMAILING LIST (questions, bug reports, suggestions/patches): log4perl-devel@lists.sourceforge.net\n\nAuthors (please contact them via the list above, not directly): Mike Schilli\n<m@perlmeister.com>, Kevin Goess <cpan@goess.org>\n\nContributors (in alphabetical order): Ateeq Altaf, Cory Bennett, Jens Berthold, Jeremy Bopp,\nHutton Davidson, Chris R. Donnelly, Matisse Enzer, Hugh Esco, Anthony Foiani, James FitzGibbon,\nCarl Franks, Dennis Gregorovic, Andy Grundman, Paul Harrington, Alexander Hartmaier David Hull,\nRobert Jacobson, Jason Kohles, Jeff Macdonald, Markus Peter, Brett Rann, Peter Rabbitson, Erik\nSelberg, Aaron Straup Cope, Lars Thegler, David Viner, Mac Yang.\n",
                "subsections": []
            }
        }
    }
}