I have this search string below which gives the top files with the most Bugs related to them.
index = git | rename Data.payload.head_commit.modified{} as FilesModified | rex field=Data.payload.head_commit.message max_match=10 "(?<BugID>[bB]ug.*[^@\w\w\d{4}]\d{3,6})" |rex field=BugID max_match=10 "(?<BugIDs>\d{3,6})"|eval BugIDs = ltrim(BugIDs,"0") | stats values(BugIDs) by FilesModified delim=", " | rename values(BugIDs) as BugIDs | eval BugCountPerFile = mvcount(BugIDs)| nomv BugIDs | search BugIDs =* | sort by -BugCountPerFile
And the result gives a list that looks like this:
Files Modified BugIDs BugCountPerFile
RequestHandler.cs 889,555,333 3
Response.cs 963,548 2
File.cs 874 1
And basically I want a time graph that has 5 lines. A line for each of the top five Files Modified with the most BugCountPerFile. The x axis is the time in months, and the y axis is the number of BugCountPerFile for that month. I want to be able to monitor the trends of Bug Fixes per file over time, and view them in this linegraph for the top 5 files with the most overall BugCountPerFile
... View more