Log Analyzer is a Streamlit application designed to visualize CSV data with flexible plotting options. It allows users to analyze log data by plotting selected Y-axes against an X-axis either in a combined graph or as separate subplots.
- File Upload: Load your CSV files directly into the application.
- Data Preview: View a preview of the uploaded data to confirm it's loaded correctly.
- Flexible Plotting:
- Combined Plot: Plot all selected Y-axes against the chosen X-axis on a single graph.
- Separate Subplots: Create separate subplots for each selected Y-axis, all sharing the same X-axis.
- Interactive Graphs: Use Plotly for interactive and dynamic visualizations.
To run the Log Analyzer locally, you need Python and the required packages. Follow these steps to set up your environment:
-
Clone the repository:
git clone https://github.com/yourusername/your-repo-name.git cd your-repo-name
-
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install required packages:
pip install streamlit pandas plotly
-
Run the application:
streamlit run main.py
Replace
app.py
with the name of your Python script if it's different.
-
Upload a CSV File:
- Click on the file uploader to choose a CSV file from your local system.
-
Select X-axis:
- Choose the column to be used as the X-axis.
-
Select Y-axes:
- Select one or more columns to be used as Y-axes for plotting.
-
Choose Plot Type:
- Combined Plot: All selected Y-axes will be plotted on a single graph.
- Separate Subplots: Each selected Y-axis will be plotted in its own subplot, sharing the same X-axis.
-
View and Interact with Plots:
- The application will display the plots according to your selections. Interact with the graphs to explore the data.
Contributions are welcome! If you have suggestions or improvements, please submit a pull request or open an issue.
For any questions or feedback, please contact:
- Name: Akhil Sam Varghese
- Email: akhilsam.v@gmail.com
- GitHub: github.com/akhilsamvarghese