-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syslog plugin is unable to collect data #1
Comments
@sachinkademane is there anything else in the /tmp/syslog_metrics.log file other than "null"? Tell me more about how your syslog daemon is configured. Are you sending syslog messages to the plugin on port 1514? |
my rsyslog.conf looks like below
|
I don't see where you are forwarding to the plugin on port 1514. You should have an entry in your rsyslog.conf that looks like...
Replacing the IP address to the address that the plugin is binding. |
In place of
10.224.54.99:514 should i have an entry of |
I do not know where the snap-telemetry syslog plugin is installed. However, you have to tell rsyslog to send events to the plugin. The plugin configuration says it will listen on port 1514. Depending on where the plugin is installed, you need to configure rsyslog to send to the plugin. If the plugin is installed locally and listening on 127.0.0.1:1514, then yes, configure rsyslog to send to that and then restart the rsyslog daemon. |
@sachinkademane were you able to get things working by making the config changes to rsyslog? |
@dishmael No....still i am unable to get mtrics from syslog..i changed that 127.0.0.1:514 to 1514 but still it is unable to pull metrics...i think now my plugin config and rsyslog config matches properly...but still unable to pull metrics |
what does it say when you run |
Since i uncommented UDP and TCP it is showing following
|
change your rsyslog.conf to the local IP address (not localhost) and port 1514. Then restart rsyslog and the plugin. |
yea that also i did and i tried...but still the result is same |
I assume everything you are doing is on the same host. Try setting up a new line to log to a test file in your rsyslog.conf file to confirm it is working properly.
When you restart rsyslog, confirm you have a log file |
i loaded syslog plugin in centos 7....and my syslog deamon is running....when i start my syslog task to collect metrics to a file i can see null displaying in file....when i do snaptel task watch nothing is showing there....what might be the issue here?
my task file looks like below
The text was updated successfully, but these errors were encountered: