Getting Data In

Are booleans in .conf files case sensitive?

samejgink
Explorer

I am troubleshooting an issue with an app and the searchoperatorKV error I am receiving is:

Invalid key-value parser, ignoring it, transform_name='my_transform'.

When investigating the transforms.conf file, the transform in question looks like this:

# transforms.conf
[my_transform]
   MV_ADD = True

My question is are the boolean values true and false case sensitive within the .conf files?

0 Karma
1 Solution

manjunathmeti
Champion

Boolean values can be set to True or true. Check if any invalid attribute for stanza my_transform in transforms.conf using btool commands.

$SPLUNK_HOME/bin/splunk btool check
$SPLUNK_HOME/bin/splunk btool transforms list --debug

View solution in original post

manjunathmeti
Champion

Boolean values can be set to True or true. Check if any invalid attribute for stanza my_transform in transforms.conf using btool commands.

$SPLUNK_HOME/bin/splunk btool check
$SPLUNK_HOME/bin/splunk btool transforms list --debug

View solution in original post

Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.