Skip to content

Conversation

@tomaz-lc
Copy link

Details

  • Add documentation for --validate and --test-parsing CLI flags
  • Document exit codes and error handling behavior
  • Add examples of successful output and error output when no events are parsed
  • Document Python CLI validation commands and SDK usage
  • Add common validation issues table with troubleshooting guidance

Context

This documents new validation features added to usp-adapters and python-limacharlie:

  • Config validation without connecting to LimaCharlie (--validate)
  • Parsing rule testing with sample data (--test-parsing)
  • Empty results detection with helpful error messages

TODO

  • Incorporate those changes in our docs360 docs

and testing parsing rules before production deployment:

- Document --validate flag for local config validation
- Document --test-parsing flag for API-based parsing validation
- Add exit codes and error handling behavior
- Include example output for successful parsing
- Include example error output when no events are parsed
- Document Python CLI validation commands (limacharlie usp validate)
- Add common validation issues table with troubleshooting guidance
- Document SDK validateUSP method for programmatic validation

These docs support validation features added to usp-adapters and
python-limacharlie that help users catch configuration errors and
misconfigured parsing rules before deploying adapters.
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

Successfully merging this pull request may close these issues.

2 participants