Getting Data In

WinEventLogs breaking the field extractions when sent to a third-party. Why?

cleelakrishna
Loves-to-Learn

Im able to Send the WinEventlogs to third party server through SYSLOG TCP port. But the props which i have created is breaking Field Extractions in TA_windows Addon. please Help me in solving the issue. below are the configurations which i used:

outputs.conf:

[syslog:my_syslog_group]
server = abcappls.abc.com:814
type = tcp

props.conf:

[source::WinEventLo*]
SHOULD_LINEMERGE = true
MAX_TIMESTAMP_LOOKAHEAD=30
LINE_BREAKER = (\r\n)
KV_MODE=none
TRANSFORMS-routing = send_to_syslog
SEDCMD-win=s/(?mis)(Token Elevation Type indicates|This event is generated|Application Id=).*$//g
SEDCMD = s/[\n\r\t]/ /g

transforms.conf :

[send_to_syslog]
REGEX = .
DEST_KEY = _SYSLOG_ROUTING
FORMAT = my_syslog_group

I get the events as one liner to the third party system (which is correct) but my new PROPS have changed the Existing props which in turn get every thing as one line to splunk Indexer as well.

09/11/2017 09:38:32 PM LogName=Application SourceName=vmStatsProvider EventCode=256 EventType=0 Type=Information ComputerName=qwerty.loutap.chgfms.abcf TaskCategory=General OpCode=Info RecordNumber=1234567 Keywords=Classic Message=The "vmStatsProvider" is successfully initialized for this Virtual Machine. WMI namespace: "rofhjgfv2".

please help me with props.conf which should not change the Fields which are getting indexed into Indexer.

0 Karma

DalJeanis
Legend

You probably need to look at CLONE_SOURCETYPE. What that will do is copy the events from their initial state into another sourcetype, where the same events can proceed to be handled in a different way.

@rphilllips posted a really good description and use case over here - https://answers.splunk.com/answers/556300/how-can-i-use-clone-sourcetype-to-send-a-cloned-mo.html?ch...

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...