[PR #1074] [MERGED] Log Analysis Example #15728

Closed
opened 2026-04-16 05:06:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1074
Author: @technovangelist
Created: 11/10/2023
Status: Merged
Merged: 11/17/2023
Merged by: @technovangelist

Base: mainHead: mattw/loganalysisexample


📝 Commits (6)

  • 5de568b Add a simple log analysis example
  • e4f59ba better streaming plus gif
  • 96bf9ca Update examples/python-loganalysis/loganalysis.py
  • eced0d5 Update examples/python-loganalysis/loganalysis.py
  • 64b7e0c Update examples/python-loganalysis/loganalysis.py
  • f4edc30 Update examples/python-loganalysis/readme.md

📊 Changes

5 files changed (+131 additions, -0 deletions)

View changed files

examples/python-loganalysis/Modelfile (+8 -0)
examples/python-loganalysis/loganalysis.py (+42 -0)
examples/python-loganalysis/logtest.logfile (+32 -0)
examples/python-loganalysis/readme.md (+48 -0)
examples/python-loganalysis/requirements.txt (+1 -0)

📄 Description

At kubecon and other events and on discord, we have been asked how to analyse logs using ollama. This is a simple example of one approach to this.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/1074 **Author:** [@technovangelist](https://github.com/technovangelist) **Created:** 11/10/2023 **Status:** ✅ Merged **Merged:** 11/17/2023 **Merged by:** [@technovangelist](https://github.com/technovangelist) **Base:** `main` ← **Head:** `mattw/loganalysisexample` --- ### 📝 Commits (6) - [`5de568b`](https://github.com/ollama/ollama/commit/5de568bffed863760c796c9df165ccdfd6d22ce2) Add a simple log analysis example - [`e4f59ba`](https://github.com/ollama/ollama/commit/e4f59ba073ee55dd4d720db8a8883220859488b1) better streaming plus gif - [`96bf9ca`](https://github.com/ollama/ollama/commit/96bf9cafa79b85671b518d47cf89f213f25de0cb) Update examples/python-loganalysis/loganalysis.py - [`eced0d5`](https://github.com/ollama/ollama/commit/eced0d52abeab6f1e1beba4686ac89eaf57d6438) Update examples/python-loganalysis/loganalysis.py - [`64b7e0c`](https://github.com/ollama/ollama/commit/64b7e0c218d8faac6533e729da720248f2196d15) Update examples/python-loganalysis/loganalysis.py - [`f4edc30`](https://github.com/ollama/ollama/commit/f4edc302a8535f81cba7417abc2b5a0d5eea1e20) Update examples/python-loganalysis/readme.md ### 📊 Changes **5 files changed** (+131 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `examples/python-loganalysis/Modelfile` (+8 -0) ➕ `examples/python-loganalysis/loganalysis.py` (+42 -0) ➕ `examples/python-loganalysis/logtest.logfile` (+32 -0) ➕ `examples/python-loganalysis/readme.md` (+48 -0) ➕ `examples/python-loganalysis/requirements.txt` (+1 -0) </details> ### 📄 Description At kubecon and other events and on discord, we have been asked how to analyse logs using ollama. This is a simple example of one approach to this. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 05:06:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#15728