Splunk Search

Why am I unable to export log entries from dashboard?

POR160893
Builder

Hi,

I have a dashboard and I need to be able to have an option to export the actual log entries from a dashboard.

The dashboard in question performs a number of aggregations and the export option I currently have just exports these aggregation results.

What I actually need is an export of the corresponding events/ log entries of these aggregation results. Like one of the aggregations on the dashboard is a count of the number of firewalls on a each host. How can I export all the respective log entries for those specific firewalls on that host?

At the moment, I can get these logs when I perform a search but I need the option on the actual dashboard to export these logs?

Can you please help?


Many thanks,

Patrick

 

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You can only export from the dashboard data that is in the dashboard. Therefore you need another panel with the results of a query that contains the data you want to export.

This is your first problem - how do you reverse the aggregation to get the rows you want?

Your second problem is potentially not displaying these results but still being able to export them. You might be able to do this with some CSS

    <panel depends="$stayhidden$">
      <html>
        <style>
          #hiderows table{
            display: none !important;
          }
        </style>
      </html>
    </panel>
    <panel id="hiderows">
      <table>
        <search>
          <query>your deaggregation search</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">none</option>
        <option name="refresh.display">progressbar</option>
      </table>
    </panel>

Something to note is that finding the export option is easier if there is at least one page of results

ITWhisperer_0-1646649009886.png

 

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...