<?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: SNMP data parsing in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/SNMP-data-parsing/m-p/76215#M15554</link>
    <description>&lt;P&gt;a) use rather regex field extraction. &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles"&gt;Fields and field extractions&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;b) use the table command. &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Table"&gt;Table&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Feb 2012 13:33:14 GMT</pubDate>
    <dc:creator>MarioM</dc:creator>
    <dc:date>2012-02-23T13:33:14Z</dc:date>
    <item>
      <title>SNMP data parsing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SNMP-data-parsing/m-p/76214#M15553</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I have taken SNMP data into splunk through a CSV conversion of polled data. The sample data looks as below&lt;/P&gt;

&lt;P&gt;1.&lt;EM&gt;cgdAnswerType&lt;/EM&gt;.&lt;STRONG&gt;173&lt;/STRONG&gt;, .1.3.6.1.4.1.9.9.595.1.5.2.1.2.173,Integer,&lt;EM&gt;2&lt;/EM&gt;&lt;BR /&gt;
2.&lt;EM&gt;cgdAnswerAddress&lt;/EM&gt;.&lt;STRONG&gt;173&lt;/STRONG&gt;, .1.3.6.1.4.1.9.9.595.1.5.2.1.4.173, Octetstring, &lt;EM&gt;10.1.1.1&lt;/EM&gt;&lt;BR /&gt;
3.&lt;EM&gt;cgdAnswerName&lt;/EM&gt;.&lt;STRONG&gt;173&lt;/STRONG&gt;, .1.3.6.1.4.1.9.9.595.1.5.2.1.5.173,OctetString,&lt;EM&gt;&lt;A href="http://www.example.com"&gt;www.example.com&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;The challenge I have is &lt;BR /&gt;
a) the common factor is a random number and it is part of the field and not a value. Also the value of one field is another field such as cgdAnswerName is &lt;A href="http://www.example.com"&gt;www.example.com&lt;/A&gt;.&lt;BR /&gt;
I tried extract with delimiters of '.' but didnt work out. How can I use 173 in this case as a field and &lt;BR /&gt;
b) Table the output as&lt;BR /&gt;
Number | cgdAnswertype =2 | cgdAnswerAddress = 10.1.1.1 | cgdAnswerName = &lt;A href="http://www.example.com"&gt;www.example.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2012 12:41:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SNMP-data-parsing/m-p/76214#M15553</guid>
      <dc:creator>raki</dc:creator>
      <dc:date>2012-02-22T12:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP data parsing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SNMP-data-parsing/m-p/76215#M15554</link>
      <description>&lt;P&gt;a) use rather regex field extraction. &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles"&gt;Fields and field extractions&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;b) use the table command. &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Table"&gt;Table&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2012 13:33:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SNMP-data-parsing/m-p/76215#M15554</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-02-23T13:33:14Z</dc:date>
    </item>
  </channel>
</rss>

