/
AP-UAT&PROD graylog

eGov ERP DevOps

AP-UAT&PROD graylog

AP graylog: http://graylog.egovernments.org/

username/password:refer secrets

*****************************************************

Hosted: 45.114.245.5 (21 server)

-----------------------------------------------------

/etc/graylog/collector-sidecar/collector_sidecar.yml

-----------------------------------------------------

server_url: http://10.0.0.54:9000/api/

update_interval: 10

tls_skip_verify: false

send_status: true

list_log_files:

node_id: uat-app1-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:

- uat-app

backends:

- name: nxlog

enabled: false

binary_path: /usr/bin/nxlog

configuration_path: /etc/graylog/collector-sidecar/generated/nxlog.conf

- name: filebeat

enabled: true

binary_path: /usr/bin/filebeat

configuration_path: /etc/graylog/collector-sidecar/generated/filebeat.yml

---------------------------------------------------------------------------------

/etc/httpd/conf.d/graylog.conf

-------------------------------

<VirtualHost *:80>

ServerAdmin vasanth@egovernments.org

ServerName graylog.egovernments.org

ProxyRequests Off

ProxyPreserveHost On

<Proxy *>

Order deny,allow

Allow from all

</Proxy>

ProxyPass / http://10.0.0.54:9000/

ProxyPassReverse / http://10.0.0.54:9000/

#ProxyPass / http://192.168.1.58:8080/ retry=0 timeout=60

#ProxyPassReverse / http://192.168.1.58:8080/

<Location />

Order allow,deny

Allow from all

</Location>

</VirtualHost>

-------------------------------------------------------------

tail -f /etc/httpd/logs/access_log

-----------------------------------

10.0.0.54 server:

/var/lib/elasticsearch

/var/lib/graylog-server

/var/lib/mongodb

/etc/init.d/elasticsearch status/start/stop/restart

/etc/init.d/graylog-server status/start/stop/restart

systemctl status mongod.service status/start/stop/restart

tail -f /var/log/elasticsearch/graylog.log

tail -f /var/log/graylog-server/server.log

***************************************************************

Related content

Service Build Updated 2.9
Service Build Updated 2.9
More like this
Service Build Updates 2.9
Service Build Updates 2.9
More like this
Service build Updates v1.1
Service build Updates v1.1
More like this
Service Build Updates 2.8
Service Build Updates 2.8
More like this

DevOps as a Culture