Spaces:
Sleeping
Sleeping
| title: Field Correlation Analyzer | |
| emoji: π€ | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: docker | |
| app_port: 8501 | |
| tags: | |
| - streamlit | |
| - json | |
| - analysis | |
| - field-correlation | |
| pinned: false | |
| short_description: Analyze JSON files and detect important fields | |
| # Field Correlation Analyzer | |
| Upload a JSON file to analyze important fields and generate regex patterns for field extraction. | |
| ## Features | |
| - π **Automatic Field Detection**: Detects summary/aggregate fields automatically | |
| - π **Hierarchy Analysis**: Classifies data structure by hierarchy levels | |
| - π― **Smart Recommendations**: Recommends important fields for validation | |
| - π **Regex Generation**: Generates regex patterns for field extraction | |
| - π₯ **Export Results**: Download analysis results as JSON | |
| ## How to Use | |
| 1. Upload a JSON file with structured data | |
| 2. Set the target field you want to analyze (e.g., `rotation_enabled`) | |
| 3. Click "Analyze" to process the data | |
| 4. Review the structure analysis and field recommendations | |
| 5. Select fields and generate regex patterns | |
| 6. Download the results as JSON | |
| ## Example JSON Structure | |
| ```json | |
| { | |
| "results": { | |
| "summary": { | |
| "total_keys": 13, | |
| "rotated_keys": 6, | |
| "rotation_percentage": 46 | |
| }, | |
| "kms_keys": { | |
| "object": [ | |
| { | |
| "key_id": "12345", | |
| "rotation_enabled": true, | |
| "key_state": "Enabled" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ``` | |