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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...