Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBR 12.2 LTS l4jv2 - LA_SPARKMETRIC_REGEX does not filter logs #217

Open
cf-szywko opened this issue Jul 4, 2023 · 3 comments
Open

DBR 12.2 LTS l4jv2 - LA_SPARKMETRIC_REGEX does not filter logs #217

cf-szywko opened this issue Jul 4, 2023 · 3 comments

Comments

@cf-szywko
Copy link

cf-szywko commented Jul 4, 2023

Dear Sir or Madam
I have problem with filter logs using spark monitoring library. I have added export LA_SPARKMETRIC_REGEX="app." to init script. But it looks like it does not work. Spark logs a lot of internal logs which I do not want to publish to loganalytics.
I want to filter out logs based on:
logger name

  "log.level": {
    "$resolver": "level",
    "field": "name"
  },

or
application id
"applicationId": "${spark:spark.app.id:-}",
or based on anything else if it is possible. I am open to modify source code if needed.
Filter logs on loganatlytics level is not possible for me.
Databricks runtime 12.2 LTS,
Used branch: l4jv2

@cf-szywko cf-szywko changed the title DBR 12.2 LTS l4jv2 - LA_SPARKMETRIC_REGEX do not filtr logs DBR 12.2 LTS l4jv2 - LA_SPARKMETRIC_REGEX does not filter logs Jul 4, 2023
@cf-szywko
Copy link
Author

Hi please any help.

@cf-szywko
Copy link
Author

Do we have anybody here?

@hallihan
Copy link
Contributor

Please reach out to the contact listed in the README if you still need assistance. https://github.com/mspnp/spark-monitoring/tree/l4jv2#monitoring-azure-databricks-in-an-azure-log-analytics-workspace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants