I would like to add an item to the results screen context menu to run a macro with the highlighted data as a parameter when (the menu that currently contains menu items "Add to search", "Exclude from search", "New search").
I would like to add an item to the menu options covered on this page of documentation:
Is this possible?
3 1/2 years later, there is not a supported solution to this problem?
Not in a good way.
The mouseclick events are in $SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/js/views/shared/eventsviewerdrilldown/SegmentationDrilldown.js
Your modifications to this would be overwritten by splunk upgrades.
Alternatively, you might (with a little jquery DOM magic) locate the
Something along the lines of:
$("a.curr_inc_val").parent().parent().append('<li>Your Item here</li>')