Collector-sidecar


(Venkatesh) #1

Hi team

I have installed graylog-server in one of my linux machine and have configured successfully according to the configuration doc shared in http://docs.graylog.org/en/2.2/pages/installation/os/centos.html. Now i am trying to fetch custom log from application server which is deployed in linux. I have used nxlog(2.9.1716) and collector-sidecar(0.1.1) for fetching and to store it on graylog2 server. I can able to see my application server in graylog2 dashboard, but getting error like

**level=info msg="[RequestConfiguration] No configuration found for configured tags!" **

I have configured my application machine details graylog2 in collector tags.

Can anyone suggest for proceeding further, expecting your valuable, below is my nxlog and collector-sidecar configurations and the tag i have provided in graylog web is apache, tried with linux too…!

## This is a sample configuration file. See the nxlog reference manual about the
## configuration options. It should be installed locally under
## /usr/share/doc/nxlog-ce/ and is also available online at
## http://nxlog.org/docs

########################################
# Global directives                    #
########################################
User nxlog
Group nxlog

LogFile /var/log/nxlog/nxlog.log
LogLevel INFO

########################################
# Modules                              #
########################################
<Extension _syslog>
    Module      xm_syslog
</Extension>

<Input in1>
    Module	im_udp
    Port	514
    Exec	parse_syslog_bsd();
</Input>

<Input in2>
    Module	im_tcp
    Port	514
</Input>

<Output fileout1>
    Module	om_file
    File	"/var/log/logmsg.txt"
    Exec	if $Message =~ /error/ $SeverityValue = syslog_severity_value("error");
    Exec	to_syslog_bsd();
</Output>

<Output fileout2>
    Module	om_file
    File	"/var/log/logmsg2.txt"
</Output>

########################################
# Routes                               #
########################################
<Route 1>
    Path	in1 => fileout1
</Route>

<Route tcproute>
    Path	in2 => fileout2
</Route>
server_url: http://{GCP IP}:12900/api/
update_interval: 10
tls_skip_verify: false
send_status: true
list_log_files: 
    - /var/log/e2liveengine/
node_id: graylog-collector-sidecar
collector_id: file:/etc/graylog/collector-sidecar/collector-id
cache_path: /var/cache/graylog/collector-sidecar
log_path: /var/log/graylog/collector-sidecar/ 
log_rotation_time: 86400
log_max_age: 604800
tags:
    - linux
    - apache
backends:
    - name: nxlog
      enabled: true 
      binary_path: /usr/bin/nxlog
      configuration_path: /etc/nxlog.conf
    - name: filebeat
      enabled: false 
      binary_path: /usr/bin/filebeat
      configuration_path: /etc/graylog/collector-sidecar/generated/filebeat.yml

(system) #2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.