Closed
Bug 696722
Opened 14 years ago
Closed 14 years ago
Create a script to import crashes into ElasticSearch
Categories
(Socorro :: General, task)
Socorro
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: adrian, Assigned: adrian)
References
Details
(Whiteboard: [qa-])
To be able to test Socorro with ElasticSearch we need data in ES. We will consequently need a way to easily fill an ES instance with crashes.
The goal here is to create a script that pulls data for a day from crash-analysis.m.c and then pulls individual crashes from crash-stats directly, to then index them in an ES instance.
![]() |
Assignee | |
Comment 1•14 years ago
|
||
Here is my current state of work: [https://github.com/AdrianGaudebert/socorro/compare/master...696722-script-import-es]
CCing rhelmer for review. Also a few questions: should I put that script there (scripts/)? What do you think about the way I generate the dump file (a simple tar with a bunch of json files)?
![]() |
Assignee | |
Comment 2•14 years ago
|
||
Suggestions from rhelmer: add a parameter to pass a URL and load crashes from that URL instead of prod; add a parameter to pass a local csv file.
Updated•14 years ago
|
Component: Socorro → General
Product: Webtools → Socorro
Comment 3•14 years ago
|
||
Commit pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/598991241eeebc55e01856f4d9bc6fa8761ca1b9
Merge pull request #449 from AdrianGaudebert/696722-script-import-es
Fixes bug 696722 - Added a script to export crashes from PostgreSQL and ...
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
![]() |
||
Updated•14 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•