That approach doesn't work because you're essentially overwriting the same value from the second stanza - it has the same name so it's the same stanza.
You can rewrite the index value in transforms.conf:
[send_to_A_index]
REGEX = Category="Error"
DEST_KEY = _MetaData:Index
FORMAT = Awindows
[send_to_B_index]
REGEX = Category="Info"
DEST_KEY = _MetaData:Index
FORMAT = Bwindows
Then refer to those stanzas in props.conf:
[sourcetype, source, or host identifier]
TRANSFORMS-index = send_to_A_index,send_to_B_index
Usually these are on the indexer(s), and in most cases it's best to keep it that way. However, it's possible to use a heavy forwarder on the source host to have the HF do the parsing, filtering, etc.
... View more