Getting Data In

Transforms on Windows Lync Event Logs

kmugglet
Communicator

I have set up universal forwarders on our Lync servers to send the WinEventLog:Lync Server events back to the indexers and store the event in index cmp_main

 apps/forwarder_lync/local/inputs.conf
[WinEventLog:Lync Server]
index = cmp_main
disabled = 0
start_from = oldest
current_only = 0
checkpointInterval = 5

On the indexers I'm trying to split off all events with Type=Error to a different index 'cmp_secure'

apps/indexer_lync/local/props.conf
[WinEventLog:Lync Server]
TRANSFORMS-lync_services_failures_security=lync_services_failures_security

which should then match with the transforms.conf and send it on it's merry way to the new index
apps/indexer_lync/local/transforms.conf
[lync_services_failures_security]
SOURCE_KEY = MetaData:_raw
REGEX = Type=Error
DEST_KEY = _MetaData:Index
FORMAT = cmp_secure

I can't see anything wrong with the code but it refuses to send it to the other index, if I change the index in the inputs.conf it switches so I know the app is getting deployed correctly.

Is it because of the space in "Lync Server" in the props.conf sourcetype? Does that need escaping? I didn't think it did as it's encapsulated in the [].

Any ideas?

0 Karma
1 Solution

kmugglet
Communicator

Ok - answer my own question

I removed the SOURCE_KEY line from the transforms.conf.


As I understood it, MetaData:_raw should be the default anyway, but obviously it doesn't like it in this instance. Maybe the Windows Event Logs are different???

View solution in original post

0 Karma

kmugglet
Communicator

Ok - answer my own question

I removed the SOURCE_KEY line from the transforms.conf.


As I understood it, MetaData:_raw should be the default anyway, but obviously it doesn't like it in this instance. Maybe the Windows Event Logs are different???

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...