I'm running the search below for more than 6 hours, which then gives this kind of error.
Error that I have:
Error in 'expandtoken' command: (Error) field larger than field limit (131072)
Below is the saved search that calls some macros but the error is from ES command, expandtoken
'notable'| expandtoken| search NOT 'suppression' ...SNIP...
This has been caused by a csv module we use in the command, which is complaining about the content size of a field exceeding 128KB.
This can be worked around by increasing the max field size to, i.e 10MB. This will be fixed in the later release version, which is yet to be decided and can be remedied by following the steps below;
In your search head, go to "$SPLUNK_HOME/etc/apps/SA-Util/bin/ " and vi expandtoken.py
from SolnCommon.cexe import BaseChunkHandler
csv.field_size_limit(10485760) <<<<<< Add this line to the code.
If you get the same results even after the change please feel free to contact Splunk Support with the details of the issue.
This has been caused by a csv module we use in the command, which is complaining about the content size of a field exceeding 128KB.
This can be worked around by increasing the max field size to, i.e 10MB. This will be fixed in the later release version, which is yet to be decided and can be remedied by following the steps below;
In your search head, go to "$SPLUNK_HOME/etc/apps/SA-Util/bin/ " and vi expandtoken.py
from SolnCommon.cexe import BaseChunkHandler
csv.field_size_limit(10485760) <<<<<< Add this line to the code.
If you get the same results even after the change please feel free to contact Splunk Support with the details of the issue.