<?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 Re: PROPS Configuration for text file with header in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593656#M206635</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Oh Sorry, you are right, it's &lt;STRONG&gt;TEST\ ....&lt;/STRONG&gt;thank you&lt;STRONG&gt;,&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;and should be&amp;nbsp; ...start of each event, is it now makes sense to use this props instead.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LINE_BREAKER=([\r\n]+)TEST\\&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Apr 2022 17:00:24 GMT</pubDate>
    <dc:creator>SplunkDash</dc:creator>
    <dc:date>2022-04-13T17:00:24Z</dc:date>
    <item>
      <title>PROPS Configuration for text file with header</title>
      <link>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593530#M206583</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a text source file with header. Some sample events (first line is a header) and props that I wrote given below.&lt;/P&gt;&lt;P&gt;My props is working ok, except it breaks the events at TEST\2qw123|Employee, TEST\3eraa2|Employee, TEST\87xaqw|Employee, at Obj.BasePage.Page,&amp;nbsp;TEST\m69xcb,&amp;nbsp;at Obj.BasePage.Page, and&amp;nbsp;TEST\7yxccd|Employee&amp;nbsp; instead of breaking events at&amp;nbsp;&amp;nbsp;TEST\2qw123|Employee, TEST\3eraa2|Employee, TEST\87xaqw|Employee,&amp;nbsp;TEST\m69xcb, and&amp;nbsp;TEST\7yxccd|Employee .&amp;nbsp; So from following sample events, I should have 5 events , but getting 7 events. Any help will be highly appreciated. Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;UserID|UserType|System|EventType|EventID|Subject|SessionID|SrcAddr|EventStatus|TimeStamp|AdditionalData|DeviceID|DestSrcAddr&lt;BR /&gt;&lt;STRONG&gt;TEST\2qw123|Employee&lt;/STRONG&gt;|COM|TESTUSER|NTINCheckKCase|089524234|ybzjlie3d4ayr1i2|10.212.48.121|00|20220217122935|Case Information request: (Case-170) - 201612-30|mct0ma01ma4352855|10.219.174.222&lt;BR /&gt;&lt;STRONG&gt;TEST\3eraa2|Employee&lt;/STRONG&gt;|COM|TESTUSER|NTINCheckKCase|046453942|ybzjlie3d4ayr1i2|10.212.48.121|00|20220217123142|Case Information request: (Case -85) - 201912-30|mct0ma01ma4352855|10.219.174.222&lt;BR /&gt;&lt;STRONG&gt;TEST\87xaqw|Employee&lt;/STRONG&gt;|COM|SYSTEM|SystemMsg||zsod0mvomcelp3hvln5smm1u|10.216.22.17|01|20220217124743|Type:'error'; Ref:'Case/CaseInventory.aspx?Query=true&amp;amp;Scope=ServiceWide'; Msg: experienced &amp;lt;br&amp;gt;Source: App_Web_pc&amp;lt;br&amp;gt;Message: Object reference not set to an instance of an object.&amp;lt;br&amp;gt; /Case/CaseInventory.aspx&amp;lt;br&amp;gt;Trace: at Case.CaseInventory()&lt;BR /&gt;&lt;STRONG&gt;at Obj.BasePage.Page&lt;/STRONG&gt;_Load(Object sender, EventArgs e)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Please try to login again.|mct0ma01ma4382154|10.210.174.221&lt;BR /&gt;&lt;STRONG&gt;TEST\m69xcb&lt;/STRONG&gt;|Employee|COM|SYSTEM|SystemMsg||z0ae3c25zggbzx5p|10.215.173.231|01|20220217130933|Type:'error'; Ref:'Case/CaseInventory.aspx?Query=true&amp;amp;Scope=ServiceWide'; Msg: experienced a error:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Source: App_Web_pcf3kniw&amp;lt;br&amp;gt;Message: Object reference not set to an instance of an object.&amp;lt;br&amp;gt; /Case/CaseInventory.aspx&amp;lt;br&amp;gt;Trace: at Case.CaseInventory.page_load3()&lt;BR /&gt;&lt;STRONG&gt;at Obj.BasePage.Page&lt;/STRONG&gt;_Load(Object sender, EventArgs e)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Please try to login again.|mct0ma01ma4353159|10.210.174.221&lt;BR /&gt;&lt;STRONG&gt;TEST\7yxccd|Employee&lt;/STRONG&gt;|COM|TESTUSER|NTINCheckKCase|008422123|zggbzx5pzgnw1nih|10.215.173.231|00|20220217131108|Case Information request: (Case -24) - 202112-30|mct0ma1ma4353159|10.210.174.221&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;[sourcename]&lt;/P&gt;&lt;P class=""&gt;SHOULD_LINEMERGE=false&lt;/P&gt;&lt;P class=""&gt;LINE_BREAKER=([\r\n]+)&lt;/P&gt;&lt;P class=""&gt;INDEXED_EXTRACTIONS=psv&lt;/P&gt;&lt;P class=""&gt;MAX_TIMESTAMP_LOOKAHEAD=14&lt;/P&gt;&lt;P class=""&gt;HEADER_FIELD_LINE_NUMBER=1&lt;/P&gt;&lt;P class=""&gt;TIME_FORMAT=%Y%m%d%H%M%S&lt;/P&gt;&lt;P class=""&gt;TIMESTAMP_FIELDS=TimeStamp&lt;/P&gt;&lt;P class=""&gt;TRUNCATE=2000&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 04:30:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593530#M206583</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2022-04-13T04:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: PROPS Configuration for text file with header</title>
      <link>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593531#M206584</link>
      <description>&lt;P&gt;Try using search-time field extraction instead of Index time (&lt;SPAN&gt;INDEXED_EXTRACTIONS&lt;/SPAN&gt;) with below configurations:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[sourcename]
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)
TRUNCATE = 2000
TRANSFORMS-filter_events = data_filter_headers
TIME_PREFIX = [^|]*|[^|]*|[^|]*|[^|]*|[^|]*|[^|]*|[^|]*|[^|]*|[^|]*|
MAX_TIMESTAMP_LOOKAHEAD = 20
TIME_FORMAT = %Y%m%d%H%M%S
REPORT-headers = data_headers&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[data_headers]
CLEAN_KEYS = 0
DELIMS = "|"
FIELDS = UserID,UserType,System,EventType,EventID,Subject,SessionID,SrcAddr,EventStatus,TimeStamp,AdditionalData,DeviceID,DestSrcAddr

[data_filter_headers]
REGEX = ^UserID|UserType|System|EventType|EventID|Subject|SessionID|SrcAddr|EventStatus|TimeStamp|AdditionalData|DeviceID|DestSrcAddr
DEST_KEY = queue
FORMAT = nullQueue&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 04:48:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593531#M206584</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-04-13T04:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: PROPS Configuration for text file with header</title>
      <link>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593532#M206585</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you so much for your quick response. Are there any ways we can fix it using indexed time field extraction or without using Transform.conf file?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 04:53:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593532#M206585</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2022-04-13T04:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: PROPS Configuration for text file with header</title>
      <link>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593542#M206590</link>
      <description>&lt;P&gt;Your configuration for that seems correct. Try checking the &lt;STRONG&gt;splunkd error and warning logs&lt;/STRONG&gt;.&lt;BR /&gt;If that doesn't help open a case with Splunk and see if they can help!!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 05:32:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593542#M206590</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-04-13T05:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: PROPS Configuration for text file with header</title>
      <link>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593544#M206591</link>
      <description>&lt;P&gt;Your data is inconsistent with the definition. You have header specifying some fields and then you have two events with not enough data to fill those fields,&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 05:38:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593544#M206591</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-04-13T05:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: PROPS Configuration for text file with header</title>
      <link>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593590#M206606</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you so much you all.&amp;nbsp; Just wonder, is it possible to use the pattern of like&amp;nbsp;&lt;STRONG&gt;TEST\3eraa2|Employee|&amp;nbsp;&lt;/STRONG&gt; as an event breaking clause? Thank you again.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 12:29:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593590#M206606</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2022-04-13T12:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: PROPS Configuration for text file with header</title>
      <link>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593594#M206608</link>
      <description>&lt;P&gt;You can, but you don't need it.&lt;/P&gt;&lt;P&gt;Each of your events is in the new line, so you can just use simply:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)&lt;/LI-CODE&gt;&lt;P&gt;This is easier and better.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 13:04:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593594#M206608</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-04-13T13:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: PROPS Configuration for text file with header</title>
      <link>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593600#M206611</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you again. Agree and I used that way as you mentioned. But, thought, if I use like&amp;nbsp;&lt;STRONG&gt;TEST\3eraa2|Employee&lt;/STRONG&gt;, then it may give be 5 events instead of 7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 13:40:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593600#M206611</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2022-04-13T13:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: PROPS Configuration for text file with header</title>
      <link>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593607#M206615</link>
      <description>&lt;P&gt;No, it (changing LINE_BREAKER) shouldn't make any difference as you are using INDEXED_EXTRACTION.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;------&lt;BR /&gt;Upvote would be appreciated!!!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 14:00:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593607#M206615</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-04-13T14:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: PROPS Configuration for text file with header</title>
      <link>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593653#M206632</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Do you think following props is a good approach, as I am getting exactly 5 events using this props. Any feedback on it will be highly appreciated. Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;[sourcetype]&lt;/P&gt;&lt;P class=""&gt;SHOULD_LINEMERGE=false&lt;/P&gt;&lt;P class=""&gt;LINE_BREAKER=([\r\n]+)DS\\&lt;/P&gt;&lt;P class=""&gt;CHARSET=UTF-8&lt;/P&gt;&lt;P class=""&gt;TIME_PREFIX=\|\d{2}\|&lt;/P&gt;&lt;P class=""&gt;TIME_FORMAT=%Y%m%d%H%M%S&lt;/P&gt;&lt;P class=""&gt;MAXIMUM_TIMESTAMP_LOOKAHEAD=14&lt;/P&gt;&lt;P class=""&gt;HEADER_FIELD_LINE_NUMBER=1&lt;/P&gt;&lt;P class=""&gt;TRUNCATE=2000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 16:45:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593653#M206632</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2022-04-13T16:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: PROPS Configuration for text file with header</title>
      <link>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593654#M206633</link>
      <description>&lt;P&gt;&lt;SPAN&gt;LINE_BREAKER=([\r\n]+)DS\\&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Why DS?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Are you sure all lines will start with DS?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 13 Apr 2022 16:54:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593654#M206633</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-04-13T16:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: PROPS Configuration for text file with header</title>
      <link>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593656#M206635</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Oh Sorry, you are right, it's &lt;STRONG&gt;TEST\ ....&lt;/STRONG&gt;thank you&lt;STRONG&gt;,&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;and should be&amp;nbsp; ...start of each event, is it now makes sense to use this props instead.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LINE_BREAKER=([\r\n]+)TEST\\&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 17:00:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/PROPS-Configuration-for-text-file-with-header/m-p/593656#M206635</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2022-04-13T17:00:24Z</dc:date>
    </item>
  </channel>
</rss>

