You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
Unable to push logs to Log Analytics using the provided sample config and log line. Not sure how to gather more info to troubleshoot further.
Config used:
<source>
@type tail # input plugin
path /tmp/access.log # monitoring file
pos_file /tmp/fluentd_pos_file # position file
format apache # format
tag azure-loganalytics.access # tag
</source>
<match azure-loganalytics.**>
@type azure-loganalytics
customer_id foobar # Customer ID aka WorkspaceID String
shared_key foobar # The primary or the secondary Connected Sources client authentication key
log_type access_FL # The name of the event type. ex) ApacheAccessLog
add_tag_field true
tag_field_name access_FL_tag
</match>
Steps to reproduce the issue:
Start docker container with ruby:2.4.1-jessie image
Install td-agent
Install fluent-plugin-azure-loganalytics via td-agent
@koksan83
log_type value in the plugin configuration must be only 'alpha characters'.
Can you change log_type value to 'accessFL' (only alpha) instead of 'access_FL' and try again?
<match azure-loganalytics.**>
@type azure-loganalytics
customer_id foobar # Customer ID aka WorkspaceID String
shared_key foobar # The primary or the secondary Connected Sources client authentication key
log_type accessFL # The name of the event type. ex) ApacheAccessLog
add_tag_field true
tag_field_name access_FL_tag
</match>
On my side, I'll add explanation on restriction of log_type field, also I add some code to prevent users to give non-alpha characters to log_type field.
Issue description:
Unable to push logs to Log Analytics using the provided sample config and log line. Not sure how to gather more info to troubleshoot further.
Config used:
Steps to reproduce the issue:
What's the expected result?
Log gets sent to Azure Log Analytics
What's the actual result?
Output from /var/log/td-agent/td-agent.log:
The text was updated successfully, but these errors were encountered: