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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...