Search through elmah error log files (possibly in the 1000s)

We have an elmah error log folder in XML format. These files will be in millions, and each file can have a size of up to 50 kb. We need to be able to search for files (for example: what errors occurred, which system failed, etc.). Do we have an open source system that will index files and perhaps help us search for files using keywords? I looked at Lucene.net, but it seems that I will have the application code. Please advise.

+5
source share
2 answers

If you need logs in a folder in XML, elmah-loganalyzer can be useful.

You can also use Microsoft Log Parser to execute "sql like" queries in XML files:

LogParser -i:XML "SELECT * FROM *.xml WHERE detail like '%something%'"

EDIT:

As an indexing solution, you can use a combination of nutch + SOLR or logstash + Elastic Search.

+5
source

- , http://elmah.io. elmah.io ( ElasticSearch) , , , . -, -, http://elmah.io.

, elmah.io . ELMAH ErrorLog, ElasticSearch ( https://github.com/elmahio ). , , XML , . elmah.io API, ElasticSearch.

0

All Articles