Knowledge Management

Splunk Knowledge Object Reporting

sh1pit76
Explorer

This might be an easy question for some of you splunk ninjas out there. I'm trying to create a report to show all our instances saved searches with their descriptions and search syntax, listed by app. However, due to the inconsistencies between the lines required to show the title, description, and search syntax of each search, they don't line up with one another in the final report. Is there a way to display this info in such a way that it's still broken down by App, but with the title, description, and search info aligned with each title in the results?

This is the synax I'm using:

| union maxtime=300 timeout=300
[| rest splunk_server="local" "/servicesNS/-/-/saved/searches"
| eval type="Saved Searches/Alerts/Reports"]
| stats list(title) as Title, list(description) as Description, list(search) as Search by eai:acl.app
| rename eai:acl.app as App

Tags (1)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

You can do a stats by app title, giving you one line per search but still a grouping by app first. This will ensure that even very long titles or descriptions don't mess up your alignment.

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...

Cisco Catalyst Center Meets Splunk ITSI: From 'Payments Are Down' to Root Cause in ...

The Problem: When Networks and Services Don't Talk Payment systems fail at a retail location. Customers are ...