Splunk Dev

Injecting CVS commits to Splunk index

rpolak
New Member

Is there a technique to insert CVS commit logs to a Splunk Index. By default a CVS log isn't a time series file as it has each file managed opening a record and than is followed by the individual commits.

Tags (1)
0 Karma

Wilcooley
Path Finder

Oh wow, I read this as CSV until I saw your example...

With some of my Git repos I log on repo push (which is effectively a commit on the master repo) with the 'post-update' hook. I haven't looked at CVS for years, but if I recall correctly, it has a hook mechanism that you could use similarly. I use logger which logs to syslog, so I only use the first line of the commit message, which by convention in the Git world is a summary or subject. If you want to index the whole commit message, you'll probably need to use a Splunk forwarder.

Here it is in the cvsbook.

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

I guess I don't know what a CVS log actually looks like, but it seems to me like each file has its own time-series log?

0 Karma

rpolak
New Member

This is an example of a CVS log:

http://sharetext.org/M8nW

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 ...