Hello.
I cannot find an answer to this simple question, although I have found other information utilizing props.conf and transforms in more complicated situations.
I currently have a single Splunk instance as an all-in-one solution, and I am looking for a simple method to truncate ISE logs to 2000 characters to lower Splunk database size. ISE itself is not capable of this.
I am very familiar with Splunk via GUI, but not at all with modifying the configuration files, so step by step instructions would be very helpful.
Thanks in advance.
CLI:
The sourcetype for Cisco ISE can be identified in the inputs.conf file through the CLI.
/opt/splunk/bin/splunk btool props list --debug
vi /opt/splunk/etc/system/local/props.conf
[cisco:ise:syslog]
TRUNCATE = 2000
CLI:
The sourcetype for Cisco ISE can be identified in the inputs.conf file through the CLI.
/opt/splunk/bin/splunk btool props list --debug
vi /opt/splunk/etc/system/local/props.conf
[cisco:ise:syslog]
TRUNCATE = 2000
Hi @anthonyi
Are you using an on-premise or Splunk Cloud environment?
If you're using Splunk Cloud:
In the Splunk UI, go to Settings -> sourcetypes.
Find/click the sourcetype you want to restrict the length of, then click the "Advanced" tab.
If there is already a "TRUNCATE" value then update this to 2000 and hit save.
If there isnt then click "New Setting" at the bottom and then enter TRUNCATE for the name and 2000 for the value.
If you are running on-premise then its unlikely you'll be able to make the changes in this way unless you are using a all-in-one instance, which generally wouldnt be used for production.
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing
Thanks. On prem. All-in-one.
Great, in that case you should be able to make the changes in the UI if preferred.
Did this work for you?
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing