Closed parthivjoshi closed 5 years ago
@parthivjoshi
Looks like @type tail
in fluentd support JSON
format. The following is fluentd's tail plugin's doc:
Also I found an example of reading JSON data and push them into elasticsearch. This is not for log analytics but might help you to understand how you configure tail plugin in reading JSON data.
One more example is this (reading CSV data and push them into log analytics):
Hope this would help
@parthivjoshi I'm closing the issue but please feel free to re-open if you need further discussions. thanks
I am trying to forward k8 logs to azure log analytics with following settings and it's not working. Can you help?
<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 jsonON # The name of the event type. ex) ApacheAccessLog add_tag_field true tag_field_name json_ON_tag