<?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: Adding data from Wireshark capture windows txt file into Splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Adding-data-from-Wireshark-capture-windows-txt-file-into-Splunk/m-p/29103#M5001</link>
    <description>&lt;P&gt;Well the txt version will still hold the same data. The actions that determine the content are your capture settings in the first place and what you choose to save. To perform useful extraction from the above data you could write your own regular expressions and then use a combination of a props.conf and a transforms.conf to performthe extraction at search or index time &lt;/P&gt;</description>
    <pubDate>Wed, 18 Apr 2012 07:33:25 GMT</pubDate>
    <dc:creator>Drainy</dc:creator>
    <dc:date>2012-04-18T07:33:25Z</dc:date>
    <item>
      <title>Adding data from Wireshark capture windows txt file into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Adding-data-from-Wireshark-capture-windows-txt-file-into-Splunk/m-p/29102#M5000</link>
      <description>&lt;P&gt;Lets say i have already converted a wireshark pcap file to a windows text file, so do i need to "format" the data from the wireshark txt file to log data if i want to monitor the wireshark text data using Splunk??? I went to the Splunk manager &amp;gt; data inputs &amp;gt; Add data &amp;gt; Files and Directories &amp;gt; Data Preview &amp;gt; Add New. Under Add new section i selected "Continuously index data from a file or directory this Splunk instance can access" then i  entered the path of the wireshark windows txt file and i saved the settings. &lt;/P&gt;

&lt;P&gt;After that i went to the Splunk's search app to view the logs. &lt;/P&gt;

&lt;P&gt;The logs appeared too strange for me :&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;2:36:17.000 PM&lt;/P&gt;

&lt;P&gt;Frame 1: 54 bytes on wire (432 bits), 54 bytes captured (432 bits)&lt;BR /&gt;
host=TokJunXin-PC   Options|  sourcetype=logcapture   Options|  source=C:UsersTok Jun XinDesktoplogcapture.txt   Options&lt;/P&gt;

&lt;P&gt;2   »   2/2/10&lt;BR /&gt;
10:40:36.412 PM &lt;BR /&gt;
    Arrival Time: Feb  2, 2010 22:40:36.412684000 Malay Peninsula Standard Time&lt;BR /&gt;
host=TokJunXin-PC   Options|  sourcetype=logcapture   Options|  source=C:UsersTok Jun XinDesktoplogcapture.txt   Options&lt;/P&gt;

&lt;P&gt;3   »   2/2/10&lt;BR /&gt;
10:40:36.412 PM &lt;BR /&gt;
    Arrival Time: Feb  2, 2010 22:40:36.412682000 Malay Peninsula Standard Time&lt;BR /&gt;
host=TokJunXin-PC   Options|  sourcetype=logcapture   Options|  source=C:UsersTok Jun XinDesktoplogcapture.txt   Options&lt;/P&gt;

&lt;P&gt;4   »   2/2/10&lt;BR /&gt;
10:40:36.412 PM &lt;BR /&gt;
    Arrival Time: Feb  2, 2010 22:40:36.412681000 Malay Peninsula Standard Time&lt;BR /&gt;
host=TokJunXin-PC   Options|  sourcetype=logcapture   Options|  source=C:UsersTok Jun XinDesktoplogcapture.txt   Options&lt;/P&gt;

&lt;P&gt;Then some look like this : &lt;/P&gt;

&lt;P&gt;41  »   2/2/10&lt;BR /&gt;
10:40:36.411 PM &lt;BR /&gt;
    Arrival Time: Feb  2, 2010 22:40:36.411832000 Malay Peninsula Standard Time&lt;BR /&gt;
host=TokJunXin-PC   Options|  sourcetype=logcapture   Options|  source=C:UsersTok Jun XinDesktoplogcapture.txt   Options&lt;/P&gt;

&lt;P&gt;42  »   2/2/10&lt;BR /&gt;
10:40:36.000 PM &lt;BR /&gt;
    Epoch Time: 1265121636.412684000 seconds&lt;BR /&gt;
    [Time delta from previous captured frame: 0.000002000 seconds]&lt;BR /&gt;
    [Time delta from previous displayed frame: 0.000002000 seconds]&lt;BR /&gt;
    [Time since reference or first frame: 0.000852000 seconds]&lt;BR /&gt;
    Frame Number: 40&lt;BR /&gt;
    Frame Length: 54 bytes (432 bits)&lt;BR /&gt;
    Capture Length: 54 bytes (432 bits)&lt;BR /&gt;
    [Frame is marked: False]&lt;BR /&gt;
    [Frame is ignored: False]&lt;BR /&gt;
    [Protocols in frame: eth:ip:tcp]&lt;BR /&gt;
Show all 66 lines&lt;BR /&gt;
host=TokJunXin-PC   Options|  sourcetype=logcapture   Options|  source=C:UsersTok Jun XinDesktoplogcapture.txt   Options&lt;/P&gt;

&lt;P&gt;43  »   2/2/10&lt;BR /&gt;
10:40:36.000 PM &lt;BR /&gt;
    Epoch Time: 1265121636.412682000 seconds&lt;BR /&gt;
    [Time delta from previous captured frame: 0.000001000 seconds]&lt;BR /&gt;
    [Time delta from previous displayed frame: 0.000001000 seconds]&lt;BR /&gt;
    [Time since reference or first frame: 0.000850000 seconds]&lt;BR /&gt;
    Frame Number: 39&lt;BR /&gt;
    Frame Length: 54 bytes (432 bits)&lt;BR /&gt;
    Capture Length: 54 bytes (432 bits)&lt;BR /&gt;
    [Frame is marked: False]&lt;BR /&gt;
    [Frame is ignored: False]&lt;BR /&gt;
    [Protocols in frame: eth:ip:tcp]&lt;BR /&gt;
Show all 67 lines&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Every raw data for each log event shown for the wireshark txt file source doesn't seem right to me. I would like to know if there is any way to display the wireshark capture data in the windows txt file as log events correctly as in getting logs out of Wireshark pcap files????&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 05:25:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Adding-data-from-Wireshark-capture-windows-txt-file-into-Splunk/m-p/29102#M5000</guid>
      <dc:creator>misteryuku</dc:creator>
      <dc:date>2012-04-18T05:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding data from Wireshark capture windows txt file into Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Adding-data-from-Wireshark-capture-windows-txt-file-into-Splunk/m-p/29103#M5001</link>
      <description>&lt;P&gt;Well the txt version will still hold the same data. The actions that determine the content are your capture settings in the first place and what you choose to save. To perform useful extraction from the above data you could write your own regular expressions and then use a combination of a props.conf and a transforms.conf to performthe extraction at search or index time &lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 07:33:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Adding-data-from-Wireshark-capture-windows-txt-file-into-Splunk/m-p/29103#M5001</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2012-04-18T07:33:25Z</dc:date>
    </item>
  </channel>
</rss>

