Short version

I have a computer which doesn't work properly but I can't figure out what's wrong. I've tried to install other operating systems, run some system tests and look at the system logs, but couldn't figure out what's wrong.

The log files I have are tens of thousand of lines long and around the megabyte, as an order of magnitude. That's way too big for me to carefully look at everything and understand which warnings/errors are the important ones and which ones are unrelated.

Is there any AI tool which I could use to look at my logs and tell me which lines are the most suspicious and should be investigated further?

I believe LLMs like ChatGPT might be able to do this, but I don't see how I could use them to process 1MB of data.

Long version with specific details

The computer I mentioned is an Android phone. It's stuck displaying the boot animation; sometimes it displays the real screen for a few seconds, but then it goes back to the boot animation; all this, without ever rebooting. I factory-resetted it and installed other ROMs, but the problem persists: sometimes it shows the welcome screen, which seems to work too, but it doesn't last long.

I can connect to that phone via ADB and managed to look at the logs. I saved the output of dmesg (5809 lines, 539KB) and logcat (24964 lines, 2.9MB), but they're too big for me to look manually, and they contain way too many errors, most of which are unrelated to the real problem.

I tried to write some scripts to help me process those files (e.g. collapse the duplicate lines, group the lines according to some regexes etc), but that's still not enough.

I ran out of ideas and the only remaining solution I can think of is to use some AI to go through those logs and spot the lines which are the most worrying. I'm unsure whether any AI exists which could help me with this though.


1 Answer 1


There are two approaches that I am aware of:

  • Chat your data
    This GitHub repository is accompanied by a blog post on how it works schematically. The overall approach is based on the LangChain library.

  • Azure Search OpenAI demo This approach goes over your own data using the Retrieval Augmented Generation pattern. It uses Azure OpenAI Service to access the ChatGPT model (gpt-35-turbo), and Azure Cognitive Search for data indexing and retrieval. Careful, the Azure costs might be substantial depending on the size of your data.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .