Hi,
I have xml data that can have up to 500+ lines but Splunk is truncating at 257 lines. I've been trying combinations of LINE_BREAK and BREAK_ONLY_BEFORE, but no luck. I'm not sure if it's my regex or my config files or what.
thanks,
mike
I defined the stanza in inputs.conf:
[monitor:///app/freeswitch/cdrs/*.xml]
sourcetype = conf_cdr_xml
Here's my props.conf:
[conf_cdr_xml]
KV_MODE = xml
SHOULD_LINEMERGE = false
BREAK_ONLY_BEFORE = \<\/cdr\>
MAX_EVENTS = 100000
TRUNCATE=100000
NO_BINARY_CHECK = true
pulldown_type = true
And here is an example event:
<cdr>
<conference>
<name>5551231234-1234567</name>
<hostname>
[email protected]</hostname>
<rate>8000</rate>
<interval>20</interval>
<start_time type="UNIX-epoch">1521040386</start_time>
<end_time endconference_forced="false" type="UNIX-epoch">1521040388</end_time>
<members>
<member type="caller">
<join_time type="UNIX-epoch">1521040386</join_time>
<leave_time type="UNIX-epoch">1521040388</leave_time>
<flags>
<is_moderator>true</is_moderator>
<end_conference>true</end_conference>
<was_kicked>false</was_kicked>
<is_ghost>false</is_ghost>
</flags>
<caller_profile>
<username>5553214321</username>
<dialplan>XML</dialplan>
<caller_id_name>DEMO SITE</caller_id_name>
<caller_id_number>5553214321</caller_id_number>
<callee_id_name></callee_id_name>
<callee_id_number></callee_id_number>
<ani>5553214321</ani>
<aniii></aniii>
<network_addr>10.1.1.165</network_addr>
<rdnis></rdnis>
<destination_number>5551231234;conf=555;mod;tone=NO_SOUNDS</destination_number>
<uuid>2dccfdde-279a-11e8-99a6-5903ab961f76</uuid>
<source>mod_sofia</source>
<context>public</context>
<chan_name>sofia/internal/
[email protected]</chan_name>
</caller_profile>
</member>
<member type="caller">
<join_time type="UNIX-epoch">1521040386</join_time>
<leave_time type="UNIX-epoch">1521040388</leave_time>
<flags>
<is_moderator>true</is_moderator>
<end_conference>true</end_conference>
<was_kicked>false</was_kicked>
<is_ghost>false</is_ghost>
</flags>
<caller_profile>
<username>5553214321</username>
<dialplan>XML</dialplan>
<caller_id_name>DEMO SITE</caller_id_name>
<caller_id_number>5553214321</caller_id_number>
<callee_id_name></callee_id_name>
<callee_id_number></callee_id_number>
<ani>5553214321</ani>
<aniii></aniii>
<network_addr>10.1.1.165</network_addr>
<rdnis></rdnis>
<destination_number>5551231234;conf=555;mod;tone=NO_SOUNDS</destination_number>
<uuid>2dccfdde-279a-11e8-99a6-5903ab961f76</uuid>
<source>mod_sofia</source>
<context>public</context>
<chan_name>sofia/internal/
[email protected]</chan_name>
</caller_profile>
</member>
</members>
<rejected></rejected>
</conference>
</cdr>
... View more