<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Transforms on Windows Lync Event Logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-on-Windows-Lync-Event-Logs/m-p/158010#M32018</link>
    <description>&lt;P&gt;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&lt;BR /&gt;
&lt;PRE&gt; &lt;B&gt;apps/forwarder_lync/local/inputs.conf&lt;/B&gt;&lt;BR /&gt;
[WinEventLog:Lync Server]&lt;BR /&gt;
index = cmp_main&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
start_from = oldest&lt;BR /&gt;
current_only = 0&lt;BR /&gt;
checkpointInterval = 5&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;On the indexers I'm trying to split off all events with Type=Error to a different index 'cmp_secure'&lt;BR /&gt;
&lt;PRE&gt;&lt;B&gt;apps/indexer_lync/local/props.conf&lt;/B&gt;&lt;BR /&gt;
[WinEventLog:Lync Server]&lt;BR /&gt;
TRANSFORMS-lync_services_failures_security=lync_services_failures_security&lt;BR /&gt;
&lt;/PRE&gt;&lt;BR /&gt;
which should then match with the transforms.conf and send it on it's merry way to the new index&lt;BR /&gt;
&lt;PRE&gt;&lt;B&gt;apps/indexer_lync/local/transforms.conf&lt;/B&gt;&lt;BR /&gt;
[lync_services_failures_security]&lt;BR /&gt;
SOURCE_KEY = MetaData:_raw&lt;BR /&gt;
REGEX = Type=Error&lt;BR /&gt;
DEST_KEY = _MetaData:Index&lt;BR /&gt;
FORMAT = cmp_secure&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;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 [].&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:34:07 GMT</pubDate>
    <dc:creator>kmugglet</dc:creator>
    <dc:date>2020-09-28T16:34:07Z</dc:date>
    <item>
      <title>Transforms on Windows Lync Event Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-on-Windows-Lync-Event-Logs/m-p/158010#M32018</link>
      <description>&lt;P&gt;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&lt;BR /&gt;
&lt;PRE&gt; &lt;B&gt;apps/forwarder_lync/local/inputs.conf&lt;/B&gt;&lt;BR /&gt;
[WinEventLog:Lync Server]&lt;BR /&gt;
index = cmp_main&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
start_from = oldest&lt;BR /&gt;
current_only = 0&lt;BR /&gt;
checkpointInterval = 5&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;On the indexers I'm trying to split off all events with Type=Error to a different index 'cmp_secure'&lt;BR /&gt;
&lt;PRE&gt;&lt;B&gt;apps/indexer_lync/local/props.conf&lt;/B&gt;&lt;BR /&gt;
[WinEventLog:Lync Server]&lt;BR /&gt;
TRANSFORMS-lync_services_failures_security=lync_services_failures_security&lt;BR /&gt;
&lt;/PRE&gt;&lt;BR /&gt;
which should then match with the transforms.conf and send it on it's merry way to the new index&lt;BR /&gt;
&lt;PRE&gt;&lt;B&gt;apps/indexer_lync/local/transforms.conf&lt;/B&gt;&lt;BR /&gt;
[lync_services_failures_security]&lt;BR /&gt;
SOURCE_KEY = MetaData:_raw&lt;BR /&gt;
REGEX = Type=Error&lt;BR /&gt;
DEST_KEY = _MetaData:Index&lt;BR /&gt;
FORMAT = cmp_secure&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;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 [].&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:34:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-on-Windows-Lync-Event-Logs/m-p/158010#M32018</guid>
      <dc:creator>kmugglet</dc:creator>
      <dc:date>2020-09-28T16:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms on Windows Lync Event Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-on-Windows-Lync-Event-Logs/m-p/158011#M32019</link>
      <description>&lt;P&gt;Ok - answer my own question&lt;/P&gt;

&lt;P&gt;&lt;B&gt;I removed the SOURCE_KEY line from the transforms.conf.&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
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???&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2014 03:34:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-on-Windows-Lync-Event-Logs/m-p/158011#M32019</guid>
      <dc:creator>kmugglet</dc:creator>
      <dc:date>2014-05-09T03:34:25Z</dc:date>
    </item>
  </channel>
</rss>

