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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...