Dismiss Notice

Register now to be one of the first members of this SharePoint Community! Click here it just takes seconds!

Dismiss Notice
Welcome Guest from Country Flag

Ship ULS to Graylog

Discussion in 'SharePoint Blogs' started by /u/oneoneeno, Mar 8, 2016.

Thread Status:
Not open for further replies.
  1. /u/oneoneeno

    /u/oneoneeno Guest

    Blog Posts:
    0
    Has anyone used nxlog or a similar log forwarder to forward ULS logs? I'm just looking for a basic config that I can tweak later.

    I can't really find anything with google. The event logs from my web front end are getting sent in fine but ULS isn't sending in any data.

    Here's a sample of my nxlog.conf pertaining to ULS files. I admit that I don't really know what I'm doing here.

    <Extension uls> #map Sharepoint ULS Logs module xm_csv Fields $datetime, $process, $tid, $area, $category, $eventid, $level, $message, $correlation FieldTypes string, string, string, string, string, string, string, string, string Delimiter \t </Extension> <Input spuls> Module im_file File 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS\<servername>-*.log' ReadFromLast TRUE Exec if (($raw_event =~ /^#/) or ($raw_event =~ /^$/)) drop(); Exec if not dropped() \ { \ uls->parse_csv(); \ $tags = 'Production'; \ $app = "spuls"; \ } </Input>
    submitted by /u/oneoneeno
    [link] [comments]

    Continue reading...
     
Thread Status:
Not open for further replies.

Share This Page

LiveZilla Live Chat Software