Dashboards & Visualizations

one xml file is split into mulitple event

SplunkCSIT
Communicator

how come when i forward one xml to indexer, it is split into multiple event, how to configure such that one xml is in one event? thks

Tags (1)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

You'll need to set appropriate props.conf settings, see http://docs.splunk.com/Documentation/Splunk/6.0.2/Admin/propsconf

For your case, you're probably hitting maximum lines or bytes per event - consider adding these to your sourcetype's stanza:

MAX_EVENTS = a number large enough to accommodate your number of lines
TRUNCATE = a number large enough to accommodate your number of bytes
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Take a look at BREAK_ONLY_BEFORE in props.conf: http://docs.splunk.com/Documentation/Splunk/6.0.2/Admin/propsconf
You should be able to set that to the start of your events, and Splunk will break them accordingly.

0 Karma

SplunkCSIT
Communicator

The # of events is 1528 and the byte is ~118000. What would be your recommendation?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Well, beyond guessing that it might be a size-related issue I'm going to need more information about the data.

0 Karma

SplunkCSIT
Communicator

cannot work, i made the above changes, restart the splunk and the xml is still split into multiple events

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!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

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 ...