Hello.
sorry for bitmaps but crazy interface doesnt allow me to put xml code
local Splunk on Win 10, commands below run in WSL
need to upload new
C:\Splunk\etc\apps\alert_schedule\lookups\schedule_maintenance_windows.csv file
using curl
curl -k -u admin:pass https://localhost:8089/servicesNS/admin/search/data/lookup-table-files -d eai:data='C:/Splunk/var/run/splunk/lookup_tmp/maintenance_windows_empty.csv' -d name=maintenance_windows_empty.csv
and getting error
<msg type="ERROR">File is binary or file encoding is not supported, only utf-8 encoded files are supported</msg>
just for a case: maintenance_windows_empty.csv file is empty, it is neither ASCII nor UTF-8 (and not a binary of cause!!!)
please advice! 🙂
... View more