Hello everybody,
I would like to send my apache2 log files from a remote server to graylog 
server. Actually I using graylog-collector-sidecar on Debian 7 and my 
configuration files are:

--------collectoe_sidecar.yaml---------------
erver_url: http://10.5.10.242:12900
node_id: graylog-collector-sidecar-nagios
collector_id: file:/etc/graylog/collector-sidecar/collector-id
log_rotation_time: 86400
log_max_age: 86400
tags: apache
update_interval: 10
log_path: /var/log/graylog/collector-sidecar
backends:
    - name: nxlog
      enabled: true
      binary_path: /usr/bin/nxlog
      configuration_path: 
/etc/graylog/collector-sidecar/generated/nxlog.conf
----------------------------------------------------
-----------nxlog.conf---------------------------
User nxlog
Group nxlog
Moduledir /usr/lib/nxlog/modules
CacheDir /var/spool/collector-sidecar/nxlog
PidFile /var/run/graylog/collector-sidecar/nxlog.pid
define LOGFILE /var/log/graylog/collector-sidecar/nxlog.log
LogFile %LOGFILE%
LogLevel INFO

<Extension logrotate>
    Module  xm_fileop
    <Schedule>
        When    @daily
        Exec    file_cycle('%LOGFILE%', 7);
     </Schedule>
</Extension>
---------------------------------------------------
This is the tree output
/etc/graylog/collector-sidecar$ tree
.
├── collector-id
├── collector_sidecar.yml
└── generated
    └── nxlog.conf

So now when I try to do graylog-collector-sidecar -c 
/etc/graylog/collector-sidecar/collector_sidecar.yml
I got this
INFO[0000] Using collector-id: e3d0fefc-f8fd-4f4e-becd-894d7f813532 
INFO[0000] Fetching configurations tagged by: [apache]  
INFO[0000] Starting collector supervisor                
INFO[0000] [nxlog] Starting                             
INFO[0010] [RequestConfiguration] No configuration found for configured 
tags! 
INFO[0020] [RequestConfiguration] No configuration found for configured 
tags! 
INFO[0030] [RequestConfiguration] No configuration found for configured 
tags! 

But I see the instance in collectors in graylog server.

Any idea how to fix it?

Thanks in advance

Tony

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/27703308-3fe9-4a3f-8576-d54b70e2beaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to