Splunk Search

Key/value pair vs CSV in relation to daily license

fredclown
Contributor

We currently have a scripted input into Splunk that is a CSV and we are doing field extractions via regex. This is not super flexible as we want to add fields to the input, but if we change the regex it will work for the new data, but not the historical data. So, instead we want to change our input to be key/value pairs (key="value"). CSV is lean, but inflexible. The key value pairs are more robust, but obviously not very lean. Honestly, we don't care about disk space ... space is cheap. The question is will this affect our daily index license if the keys have the same names as the previous field extractions. Basically, is it file size, or the amount of data that is actually indexed (are these the same thing) that goes toward the daily license? Thanks.

Tags (2)
0 Karma
1 Solution

lukejadamec
Super Champion

The index volume license is just that. It is the volume of data that is indexed, and it should be roughly equal to the uncompressed size of the log files. If changing to key value pairs increases the size of the log files, then it will also increase the volume indexed.

View solution in original post

lukejadamec
Super Champion

The index volume license is just that. It is the volume of data that is indexed, and it should be roughly equal to the uncompressed size of the log files. If changing to key value pairs increases the size of the log files, then it will also increase the volume indexed.

somesoni2
Revered Legend

In my opinion it should affect the daily index volume as header for each column will now be repeating for each row/event. Daily license goes by data actually indexed.

0 Karma
Get Updates on the Splunk Community!

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!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...