Dashboards & Visualizations

Splunk with Legato

Branden
Builder

Does anyone use Splunk to capture statistics from their Legato back-ups?

Legato's mminfo reporting tool doesn't give me the information I need, but the e-mail sent out to us upon the completion of a saveset does. So I've been using Splunk to capture the mail spool for that account. This has actually worked pretty well. Thanks to some punct options I can produce an easier-to-read search result.

There are two things I'd like to do:

  1. Graph the time it completed versus the time it completed in previous days.
  2. Alert us if a back-up fails or does not complete by a certain time (probably two different alerts there).

Legato has utilities that do this for us, but it would be very nice if we could get Splunk to do it. One stop shopping, right?

Here's what an output looks like:

Date: Thu, 26 Aug 2010 05:23:23 -0400
From: root
Message-Id: <[email protected]>
To: oper
Subject: host1.xyz.com's savegroup completion
Cc: root

NetWorker savegroup: (alert) ProdDailycompleted, Total 8 client(s), 1 Failed, 7 Succeeded. 

Please see group completion details for more information.

Failed: host1
Succeeded: host2, host3, host4, host5


Is what I'm asking for possible/practical? Or is this just not worth the effort?

Thanks!

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Sure, it seems very easy. Most of the work will simply be in defining appropriate field extractions to get the data from your emails, and these look to be fairly straightforward regular expressions. If you're already getting the emails in Splunk, that's a big help. Make sure the time and "Failed" fields are extracted.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...