Added Filters/Grok example

This commit is contained in:
Eric Fontana
2014-07-21 09:29:56 -04:00
parent 31df124aff
commit c25d38b4c2
3 changed files with 28 additions and 0 deletions

20
Package.nuspec Normal file
View File

@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>TimberWinR</id>
<version>1.0.0</version>
<authors>efontana</authors>
<owners>efontana</owners>
<licenseUrl>http://LICENSE_URL_HERE_OR_DELETE_THIS_LINE</licenseUrl>
<projectUrl>http://PROJECT_URL_HERE_OR_DELETE_THIS_LINE</projectUrl>
<iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Package description</description>
<releaseNotes>Summary of changes made in this release of the package.</releaseNotes>
<copyright>Copyright 2014</copyright>
<tags>Tag1 Tag2</tags>
<dependencies>
<dependency id="SampleDependency" version="1.0" />
</dependencies>
</metadata>
</package>

View File

@@ -15,4 +15,11 @@
</IISW3CLogs> </IISW3CLogs>
</Inputs> </Inputs>
<Filters>
<Grok match="%{IPAddress:ip1} %{IPAddress:ip2}" dropifmatch="true|false">
<AddField name="field1" value="%{foo}" />
<RemoveField value="ip1" />
</Grok>
</Filters>
</TimberWinR> </TimberWinR>

View File

@@ -16,6 +16,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TimberWinR.UnitTests", "Tim
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1B2F600B-2400-45B9-A28E-CFC391D9EFA9}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1B2F600B-2400-45B9-A28E-CFC391D9EFA9}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
Package.nuspec = Package.nuspec
README.md = README.md README.md = README.md
EndProjectSection EndProjectSection
EndProject EndProject