Setting up Windows agents logging error. #3964
Unanswered
Austex-AaronCraig
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Guys
I am having some trouble setting up the logging for the Grafana Windows agent, it seems to crash the service when I add in the generated YAML code for the log collection, I must be doing something wrong, but I have not found a whole of info lot to help me.
The error in event viewer is Event 1:level=error msg="error creating the agent server entrypoint" err="unable to apply config for integrations: unable to create logs instance: failed to make windows target manager: failed to create bookmark using path=C:\Users\[USERACCOUNT]\AppData\Roaming\"bookmark-application.xml": CreateFile C:\Users\[USERACCOUNT]\AppData\Roaming\"bookmark-application.xml": The filename, directory name, or volume label syntax is incorrect."
Snippet of code from the windows exporter
![image](https://private-user-images.githubusercontent.com/119393783/240503054-b0f0f3ab-e7c7-4ed4-881a-6652f024b242.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNTYwNjUsIm5iZiI6MTcyNjE1NTc2NSwicGF0aCI6Ii8xMTkzOTM3ODMvMjQwNTAzMDU0LWIwZjBmM2FiLWU3YzctNGVkNC04ODFhLTY2NTJmMDI0YjI0Mi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMlQxNTQyNDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mZWIxNjVkZDZjYmJiYjQ3NTNmMWY1NjEyOWExYjFhYzFmYTY0NDY5MDllYzFkNDFlYWQ1MDMwNjNhODg1Njc4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.8mOTOQ-8PUkRZkwnYH74HNBDBLMqYR6nqBwRaX3GNJA)
PowerShell screenshot of the Grafana service crashing & working once i remove the autogenerated log code snippet.
![image](https://private-user-images.githubusercontent.com/119393783/240503461-3c79c8fc-5836-4a28-bba5-ded48b771f81.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNTYwNjUsIm5iZiI6MTcyNjE1NTc2NSwicGF0aCI6Ii8xMTkzOTM3ODMvMjQwNTAzNDYxLTNjNzljOGZjLTU4MzYtNGEyOC1iYmE1LWRlZDQ4Yjc3MWY4MS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMlQxNTQyNDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xNzMyMGYwYzQ3NmJkZDcxMTNkODc0NjhlNjE0YWU5MjMzYmIxMTUxNDlmZTFlZDQ3NDE0OGM4NTg5YzhjNGNjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Sk8ADhBYnvlREefL3ZDAM3RlgHcvZsq7m8lbff7BUXU)
Beta Was this translation helpful? Give feedback.
All reactions