Skip to content

[BUG] Excessive PA logs in opensearch.log file #80

@sruti1312

Description

@sruti1312

What is the bug?
PA plugin writes to opensearch.log file and creates pa.plugin.stats.log.

  1. Currently all the logs that needs to be written to pa.plugin file are getting piped to opensearch.log causing a lot of noise.
  2. Missing log rotation and log removal on pa.plugin.stats.log file.

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

What is the expected behavior?
A clear and concise description of what you expected to happen.

What is your host/environment?

  • OS: [e.g. iOS]
  • Version [e.g. 22]
  • Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Do you have any additional context?
All the stats logs are added to opensearch.log. Need to update this: https://github.com/opensearch-project/performance-analyzer-rca/blob/main/configs/opendistro_performance_analyzer/log4j2.properties

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions