<?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: Splunk App for Jenkins: Is there a way to treat each log as a single Splunk event without changing the .conf files? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-for-Jenkins-Is-there-a-way-to-treat-each-log-as-a/m-p/337998#M40664</link>
    <description>&lt;P&gt;So &lt;CODE&gt;transaction&lt;/CODE&gt; command gives me what I want, But when I click on the event and try to open the source, it shows error. I guess it is expected because the &lt;CODE&gt;transaction&lt;/CODE&gt; command can combine events from multiple sources into single event. &lt;/P&gt;

&lt;P&gt;Right? &lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2017 19:24:50 GMT</pubDate>
    <dc:creator>ss026381</dc:creator>
    <dc:date>2017-03-07T19:24:50Z</dc:date>
    <item>
      <title>Splunk App for Jenkins: Is there a way to treat each log as a single Splunk event without changing the .conf files?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-for-Jenkins-Is-there-a-way-to-treat-each-log-as-a/m-p/337995#M40661</link>
      <description>&lt;P&gt;I am using Splunk App for Jenkins. I need to treat each build log as a single event in Splunk. Every time I get the data in Splunk, it breaks it on timestamp. Considering I do not have access to the conf files, is there an option in the app configuration to send the log file as a single event. &lt;/P&gt;

&lt;P&gt;I found some answers: &lt;A href="https://answers.splunk.com/answers/106075/each-file-as-one-single-splunk-event.html"&gt;https://answers.splunk.com/answers/106075/each-file-as-one-single-splunk-event.html&lt;/A&gt; on this topic, but they all talk about changing in .conf file. &lt;/P&gt;

&lt;P&gt;If I have to change in .conf file, I may ask admin to make this change but I don't know what change I have to make. Where would I use &lt;CODE&gt;((?!))&lt;/CODE&gt; or &lt;CODE&gt;((*FAIL))&lt;/CODE&gt; to achieve this? Do I have to make changes to prop.conf and input.conf? would that change has to go on Splunk server?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 20:50:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-for-Jenkins-Is-there-a-way-to-treat-each-log-as-a/m-p/337995#M40661</guid>
      <dc:creator>ss026381</dc:creator>
      <dc:date>2017-03-06T20:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk App for Jenkins: Is there a way to treat each log as a single Splunk event without changing the .conf files?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-for-Jenkins-Is-there-a-way-to-treat-each-log-as-a/m-p/337996#M40662</link>
      <description>&lt;P&gt;If you only want to correlate the log text, have you tried &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=jenkins_artifact source="*/blah.log" | transaction source
index=jenkins_console source="*/job_name/console" | transaction source
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If your log file is structure data and you don't splunk break it line by line, please try use misc_text as source type in the advance section&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2582i526ADD83F7BB8F5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;the text will be kept as single event until it exceeds 256KB  or 200000 lines&lt;/P&gt;

&lt;P&gt;256KB is the default "Max Events Batch Size" in Jenkins plugin advance section.&lt;BR /&gt;
200000 is the misc_text source type limit, if want to overwrite this, you have to touch props.conf in Splunk&lt;/P&gt;

&lt;P&gt;Note: It is only tested on latest Splunk version and Jenkins plugin version&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 09:02:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-for-Jenkins-Is-there-a-way-to-treat-each-log-as-a/m-p/337996#M40662</guid>
      <dc:creator>txiao_splunk</dc:creator>
      <dc:date>2017-03-07T09:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk App for Jenkins: Is there a way to treat each log as a single Splunk event without changing the .conf files?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-for-Jenkins-Is-there-a-way-to-treat-each-log-as-a/m-p/337997#M40663</link>
      <description>&lt;P&gt;Thank you Txiao for the answer. First option worked for me but second option didn't work for me. Every time I select "Raw events supported" checked, I don't see any console log event in Splunk. Also when I choose custom source type  in option, I still see detault source type (" text:jenkins") in Splunk&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 16:08:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-for-Jenkins-Is-there-a-way-to-treat-each-log-as-a/m-p/337997#M40663</guid>
      <dc:creator>ss026381</dc:creator>
      <dc:date>2017-03-07T16:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk App for Jenkins: Is there a way to treat each log as a single Splunk event without changing the .conf files?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-for-Jenkins-Is-there-a-way-to-treat-each-log-as-a/m-p/337998#M40664</link>
      <description>&lt;P&gt;So &lt;CODE&gt;transaction&lt;/CODE&gt; command gives me what I want, But when I click on the event and try to open the source, it shows error. I guess it is expected because the &lt;CODE&gt;transaction&lt;/CODE&gt; command can combine events from multiple sources into single event. &lt;/P&gt;

&lt;P&gt;Right? &lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 19:24:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-for-Jenkins-Is-there-a-way-to-treat-each-log-as-a/m-p/337998#M40664</guid>
      <dc:creator>ss026381</dc:creator>
      <dc:date>2017-03-07T19:24:50Z</dc:date>
    </item>
  </channel>
</rss>

