<?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: Getting logs out of txt files converted from wireshark captures pcap file in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Getting-logs-out-of-txt-files-converted-from-wireshark-captures/m-p/29428#M177939</link>
    <description>&lt;P&gt;hi misteryuku&lt;/P&gt;

&lt;P&gt;this is my final approach to help you with this topic ..... did you read and understand Jerrad's post? &lt;/P&gt;

&lt;P&gt;He was &lt;STRONG&gt;NOT&lt;/STRONG&gt; using &lt;EM&gt;wireshark&lt;/EM&gt;, he was using &lt;EM&gt;tshark&lt;/EM&gt; with a hell lot of option to get your posted sample log in his output log. this sample log was &lt;STRONG&gt;NOT&lt;/STRONG&gt; produced in this form by &lt;STRONG&gt;splunk&lt;/STRONG&gt; but by &lt;EM&gt;tshark&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;try to set &lt;EM&gt;tshark&lt;/EM&gt; the way Jerrad did:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;date=`date +"%m-%d-%y_%H-%M"`
tshark -i eth3 -l -R "(gtp.message == 0x10) || (gtp.message == 0x11)" -Tfields -e frame.time -e gtp.teid -e gtp.teid_cp -e gtp.imsi -e gtp.msisdn -e gtp.apn -e gtp.mcc -e gtp.mnc -e gtp.lac -e gtp.rac -e gtp.user_ipv4 -e gtp.cause -e gtp.chrg_id -e gtp.gsn_ipv4 -e eth.src -e eth.dst -e gtp.ext_imeisv -e gtp.ext_sac &amp;gt; /tshark/splunk/gtp/tshark_gtp_$date
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and index that file &lt;CODE&gt;/tshark/splunk/gtp/tshark_gtp_*&lt;/CODE&gt; , forget about props.conf and transforms.conf this would lead into another bunch of questions on how to do it.&lt;/P&gt;

&lt;P&gt;cheers&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;PS: no eth3 is not your network interface and you probably don't have a /tshark/splunk/gtp/ path as well......&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Apr 2012 10:40:39 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2012-04-18T10:40:39Z</dc:date>
    <item>
      <title>Getting logs out of txt files converted from wireshark captures pcap file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-logs-out-of-txt-files-converted-from-wireshark-captures/m-p/29427#M177938</link>
      <description>&lt;P&gt;Based on the question asked on &lt;A href="http://splunk-base.splunk.com/answers/2922/splunk-monitoring-a-wireshark-file"&gt;http://splunk-base.splunk.com/answers/2922/splunk-monitoring-a-wireshark-file&lt;/A&gt; &lt;BR /&gt;
Jerrad showed a sample log output. So the log output is shown in Splunk search app whenever you search for this sample log data? So how did Jerrad manage to output the sample log :&lt;/P&gt;

&lt;P&gt;Mar 25, 2011 03:12:25.154535000 0x0c038f47 0x1496242c 11.11.11.11 128 0x584f9ea0 10.10.10.10 00:00:00:00:00:00 00:00:00:00:00:00&lt;/P&gt;

&lt;P&gt;from the wireshark pcap txt file? as in GETTING LOGS OUT from the wireshark capture file in txt file? Does anyone have any idea?? &lt;/P&gt;

&lt;P&gt;So just to ask. That means,To get the logs form wireshark pcap txt file, set the capture settings in the first place and what you choose to save,create field extractions in props.conf and transforms.conf ?? is it?? Is that the way do do it? Overall i would like to know the whole process of doing this cos i still don't understand the answers given for the question : &lt;A href="http://splunk-base.splunk.com/answers/2922/splunk-monitoring-a-wireshark-file"&gt;http://splunk-base.splunk.com/answers/2922/splunk-monitoring-a-wireshark-file&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 09:19:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-logs-out-of-txt-files-converted-from-wireshark-captures/m-p/29427#M177938</guid>
      <dc:creator>misteryuku</dc:creator>
      <dc:date>2012-04-18T09:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting logs out of txt files converted from wireshark captures pcap file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-logs-out-of-txt-files-converted-from-wireshark-captures/m-p/29428#M177939</link>
      <description>&lt;P&gt;hi misteryuku&lt;/P&gt;

&lt;P&gt;this is my final approach to help you with this topic ..... did you read and understand Jerrad's post? &lt;/P&gt;

&lt;P&gt;He was &lt;STRONG&gt;NOT&lt;/STRONG&gt; using &lt;EM&gt;wireshark&lt;/EM&gt;, he was using &lt;EM&gt;tshark&lt;/EM&gt; with a hell lot of option to get your posted sample log in his output log. this sample log was &lt;STRONG&gt;NOT&lt;/STRONG&gt; produced in this form by &lt;STRONG&gt;splunk&lt;/STRONG&gt; but by &lt;EM&gt;tshark&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;try to set &lt;EM&gt;tshark&lt;/EM&gt; the way Jerrad did:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;date=`date +"%m-%d-%y_%H-%M"`
tshark -i eth3 -l -R "(gtp.message == 0x10) || (gtp.message == 0x11)" -Tfields -e frame.time -e gtp.teid -e gtp.teid_cp -e gtp.imsi -e gtp.msisdn -e gtp.apn -e gtp.mcc -e gtp.mnc -e gtp.lac -e gtp.rac -e gtp.user_ipv4 -e gtp.cause -e gtp.chrg_id -e gtp.gsn_ipv4 -e eth.src -e eth.dst -e gtp.ext_imeisv -e gtp.ext_sac &amp;gt; /tshark/splunk/gtp/tshark_gtp_$date
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and index that file &lt;CODE&gt;/tshark/splunk/gtp/tshark_gtp_*&lt;/CODE&gt; , forget about props.conf and transforms.conf this would lead into another bunch of questions on how to do it.&lt;/P&gt;

&lt;P&gt;cheers&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;PS: no eth3 is not your network interface and you probably don't have a /tshark/splunk/gtp/ path as well......&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 10:40:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-logs-out-of-txt-files-converted-from-wireshark-captures/m-p/29428#M177939</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2012-04-18T10:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting logs out of txt files converted from wireshark captures pcap file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-logs-out-of-txt-files-converted-from-wireshark-captures/m-p/29429#M177940</link>
      <description>&lt;P&gt;Okay. Understood.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 12:15:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-logs-out-of-txt-files-converted-from-wireshark-captures/m-p/29429#M177940</guid>
      <dc:creator>misteryuku</dc:creator>
      <dc:date>2012-04-18T12:15:34Z</dc:date>
    </item>
  </channel>
</rss>

