MULE_HOME is set to D:\Install\MuleSoftRuntime\Prod02-4.3.0
Configuring agent...
ERROR: Unexpected error. Please contact MuleSoft Support.
Exception: java.nio.file.FileSystemException: D:\Install\MuleSoftRuntime\Prod02-4.3.0\server-plugings\mule-agent-plugin\lib\analytics-metrics-collector-mule4-2.5.11.jar: The process cannot access the file because it is being used by another process.
at sun.nio.fs.WindowsException.translateToIOException(WIndowsException.java:86)
at sun.nio.fs.WindowsException.rethrowAsIOException(WIndowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WIndowsException.java:102)
at sun.nio.fs.WindowsFileCopy.copy(WIndowsFileCopy.java:165)
at sun.nio.fs.WindowsFileSystemProvider.copy(WIndowsFileSystemProvider.java:278)
at java.niofile.Files..copy(Files.java:1274)
at com.mulesoft.dias.mule.agent.unified.AgentInstaller.copyCurrentVersion(AgentInstaller.java:140)
at com.mulesoft.dias.mule.agent.unified.AgentInstaller.copyAgentJar(AgentInstaller.java:61)
Do you want to user monitoring as a service? [y|n]:
You cannot install the Anypoint Monitoring agent on a server that has an existing filebeat instance running.
\am\bin> .\am.ps1 -help DESCRIPTION: Run Anypoint Monitoring FileBeat \am\bin\am.ps1 [options] options: -h show help and exit -m [DIR] set home directory - defaults to MULE_HOME -a [action] action to perform: start - Start filebeat stop - Stop filebeat restart - Restart filebeat check - Check connectivityHere're examples of what to expect when checking the filebeat connectivity to MuleSoft Anypoint Monitoring log ingestion service:
\am\bin> .\am.ps1 check Checking connectivity logstash: dias-ingestor-router.us-east-1.prod.cloudhub.io:443... Connect to ingest... OKFor US-GovCloud Control Plane:
\am\bin> .\am.ps1 check Checking connectivity logstash: dias-ingestor-router.us-gov-west-1.gprod.msap.io:443... Connect to ingest... OKIf filebeat process is not healthy use the PowerShell script to stop the process
\am\bin> .\am.ps1 stop Stopping filebeatThen use the PowerShell script to start the process
\am\bin> .\am.ps1 start Starting filebeatAnd check if the Log Search starts seeing log search queries.
001117254

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.