Splunk Search

Is it possible to add another secondary search option to the Event Details menu currently containing "Add to search", "Exclude from search", "New search"?

todd0
New Member

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:
http://docs.splunk.com/Documentation/Splunk/6.2.2/Search/Drilldownoneventdetails

Is this possible?

Tags (4)
0 Karma

bengbrewer
Engager

3 1/2 years later, there is not a supported solution to this problem?

jpvlsmv
Path Finder

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

    that contains an
and insert your own
  • into it at page-render (actually at item-click) time.
  • Something along the lines of:
    $("a.curr_inc_val").parent().parent().append('<li>Your Item here</li>')
    which you can test with a reasonable Javascript console like Firebug.

    --Joe

    Career Survey
    First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

    Can’t make it to .conf25? Join us online!

    Get Updates on the Splunk Community!

    Community Content Calendar, September edition

    Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

    Splunkbase Unveils New App Listing Management Public Preview

    Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

    Leveraging Automated Threat Analysis Across the Splunk Ecosystem

    Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...