Installation

Why has my cold-to-frozen export script stopped working?

Lowell
Super Champion

I just noticed that my coldToFrozenScript stopped working around about 4.1.4 and all my exports have been failing. The export bucket location does contains no data.

I did some followup testing and tried to run exporttool by hand, and I'm seeing the following message for all my buckets:

no events

My script is based on the flatfileExport.sh.example script provided by splunk.

Any ideas?

0 Karma
1 Solution

Lowell
Super Champion

Check to see if your usage of the exportool utility includes meta::all. If it does, remove it. Splunk has apparently deprecated this command line argument.


In the example of the flatfileExport.sh.example, you should change this line:

exporttool "$1" "${1}/index.export" meta::all

should now be:

exporttool "$1" "${1}/index.export"


I have requested that splunk add this to their release changelog.

View solution in original post

Lowell
Super Champion

Check to see if your usage of the exportool utility includes meta::all. If it does, remove it. Splunk has apparently deprecated this command line argument.


In the example of the flatfileExport.sh.example, you should change this line:

exporttool "$1" "${1}/index.export" meta::all

should now be:

exporttool "$1" "${1}/index.export"


I have requested that splunk add this to their release changelog.

Stephen_Sorkin
Splunk Employee
Splunk Employee

Lowell, sorry about this oversight. We have fixed exporttool to restore backwards compatibility for calling arguments. This will ship in 4.1.5.

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...