0

Is it possible to setup Azure Log analytics windows agent inside windows container?

I get the below error in eventvwr

HTTP operation failed with error "The Server service is not started." (2114L). The query will be retried later. The article KB3126513 has additional troubleshooting information for connectivity issues.

Server service does not exist and my research says Windows container does not support Server services. Is this even supported?

wenn32
  • 111
  • 6

1 Answers1

1

No, you cannot run the log analytics agent inside a Windows container (or any container). In a container based environment you would generally run this agent on the host machine, or as it's own container in the case of Kubernetes.

Sam Cogan
  • 38,736
  • 6
  • 78
  • 114
  • For Event viewer, IIS and custom logs (residing inside container), what would be the best approach? – wenn32 Aug 20 '20 at 10:25
  • Your best bet is to ensure that these logs are published to the container log stream, then you can use the Log Analytics agent to collect these – Sam Cogan Aug 22 '20 at 11:24