|
I'm attempting to pull in data from
and so on. I would like to be able to extract this as multi-valued set of fields. I'd like to do that as part of my props.conf/transforms.conf search time extractions, but just experimenting using multikv from the command line to see what I might get isn't giving me what I want. It appears that it's because of the items in "Site Name" that can have spaces in them and multikv does not like spaces. Maybe this is more than multikv can handle (which is fine), but can I manage to do what I want with props.conf/transforms.conf? The regex for each line would seem fairly straightforward, but it's not clear to me how to define that via props.conf/transforms.conf for search time extraction. Any help and/or pointers are greatly appreciated. Thanks |
|
If you were running this input script on a Linux system, you could use awk to "normalize" the format of the But you can do the same thing with Splunk, too. Assuming that your sourcetype is
This should remove the spaces in the heading names. I don't know that this will be enough for multikv to work, as there also appears to be some variations in the rows of the table. But try it. This is another application of the concepts in the documentation under Anonymize data. HTH! |
