Skip to content

External Change Log #16696

Discussion options

You must be logged in to vote

After some research and the help of chat, I managed to get what I wanted, I had first tried Graypy but I couldn't get it to work, I stuck with syslog, here's my conf for those interested:

LOGGING = {
    'version': 1,
    'disable_existing_loggers': False,
    'formatters': {
        'ntb': {
            'format': 'NetBox: level=%(levelname)s,logger=%(name)s,msg=%(message)s'
        }
    },
    'handlers': {
        'syslog': {
            'level': 'INFO',
            'class': 'logging.handlers.SysLogHandler',
            'address': ('your-graylog-server-host', 514),
            'facility': 'local7',
            'formatter': 'ntb'
        }
    },
    'loggers': {
        '': {
         …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by davidgib01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant