log
January 19, 2023, 11:06pm
1
Hi I have viewed this already but I don’t know what it means.
I’m running sidecar as a container with docker in a swarm environment. Eventually, containers may finalize due many reasons (restart service, etc.). I’m trying to figure out how to apply configuration automatically, without using graylog UI.
When container starts, the log shows “No configurations assigned to this instance. Skipping configuration request.”. So, is it possible to reuse an existing configuration of a dead container? How configurations are loaded? By node_id?
Don’t forget to select tags to help index your topic!
1. Describe your incident:
I have a graylog server, and a logging client that I want to send logs from directories from. Filebeat and graylog-sidecar are installed there.
In journalctl it says “level=info msg=“No configurations assigned to this instance. Skipping configuration request.””
I have my collector configured (correctly?)
and I have my my Input
and I have my graylog server sidecar config
and I have my sidecar.yml configured … I think:
server_url: “http://XXXXXXXXXXXX:9000/api/ ”
server_api_token: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
node_id: “file:/etc/graylog/sidecar/node-id”
node_name: “XXXXXXXX”
list_log_files:
/var/log/
collector_binaries_accesslist:
2. Describe your environment:
graylog server is on Rocky 8.6
Client is on centos 7.9
Package Version:
graylog-server.x86_64 5.0.2-1
filebeat-8.6.0-x86_64.rpm
graylog-sidecar.x86_64 1.4.0-2
Service logs, configurations, and environment variables:
3. What steps have you already taken to try and solve the problem?
Ive been watching journalctl, looking every on the /api/api-browser page… trying to figure out what this initial API call is all about.
4. How can the community help?
Please let me know how to “make API call to Graylog to assign the configuration.” as I read in this link posted at the top of this post.
gsmith
(GSmith)
January 19, 2023, 11:56pm
2
Hello @log
Think you might be missing something. what I could see from your screenshots looked good,
So the configuration for the node in question under Configuration.
So you should see something like this Under Administrator.
1 Like
log
January 20, 2023, 3:11pm
3
This is kind of whacky… when I took the screenshot of Sidecars Overview yesterday… it showed Running.
But I guess if I had clicked on the sidecar I would have seen an error that it couldnt find filebeat…
So I simply commented out these lines… and it is now soaking up logs… very slowly into graylog!
#collector_binaries_accesslist:
- “/usr/bin/filebeat”
Thanks for your help . I can’t figure why it didnt complain about my filebeat path before o_0
1 Like
gsmith
(GSmith)
January 20, 2023, 10:52pm
4
@log
If your good to go, could you mark this as resolved for future search
system
(system)
Closed
February 3, 2023, 10:52pm
5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.