<?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: How to Exclude header data in cisco log file ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270852#M51992</link>
    <description>&lt;P&gt;You specified "ignoreComment" in props.conf, but you configured "ignoreComments" as the transforms.conf.&lt;BR /&gt;
Make sure spelling exactly matches.&lt;/P&gt;</description>
    <pubDate>Sat, 12 Dec 2015 05:13:49 GMT</pubDate>
    <dc:creator>s2_splunk</dc:creator>
    <dc:date>2015-12-12T05:13:49Z</dc:date>
    <item>
      <title>How to Exclude header data in cisco log file ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270850#M51990</link>
      <description>&lt;P&gt;Hi splunkers, &lt;/P&gt;

&lt;P&gt;I would like to remove headers from a Cisco file. I've tried transforms configurations, but I can't get it work. &lt;BR /&gt;
I ran a search to troubleshoot: &lt;CODE&gt;index=_internal  sourcetype=splunkd ignoreComments&lt;/CODE&gt; , with the following results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; -0200 ERROR regexExtractionProcessor - REGEX field must be specified
 tranform_name=ignoreComments
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please find below details of the configurations:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;C:\Program Files\Splunk\etc\apps\search\local\inputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://c:\cisco\*]
sourcetype = cisco_teste
disabled = false
index = treinamento
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;C:\Program Files\Splunk\etc\apps\search\local\props.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[cisco_teste]
TRANSFORMS-noComments = ignoreComments
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;C:\Program Files\Splunk\etc\apps\search\local\tranforms.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ignoreComments]
REGEX = ^#
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if you guys need anything else, I really appreciate the help.&lt;BR /&gt;
Cheers, &lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 03:48:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270850#M51990</guid>
      <dc:creator>dfigurello</dc:creator>
      <dc:date>2015-12-12T03:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude header data in cisco log file ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270851#M51991</link>
      <description>&lt;P&gt;You have a spelling mismatch; you need to settle on either &lt;CODE&gt;ignoreComment&lt;/CODE&gt; or &lt;CODE&gt;ignoreComments&lt;/CODE&gt; (note the extra &lt;CODE&gt;s&lt;/CODE&gt; in the latter).  Once you make this the same, it should work fine.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 05:13:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270851#M51991</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-12-12T05:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude header data in cisco log file ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270852#M51992</link>
      <description>&lt;P&gt;You specified "ignoreComment" in props.conf, but you configured "ignoreComments" as the transforms.conf.&lt;BR /&gt;
Make sure spelling exactly matches.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 05:13:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270852#M51992</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2015-12-12T05:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude header data in cisco log file ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270853#M51993</link>
      <description>&lt;P&gt;Overlap with woodcock....&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 05:14:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270853#M51993</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2015-12-12T05:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude header data in cisco log file ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270854#M51994</link>
      <description>&lt;P&gt;Hi Woodcock, &lt;/P&gt;

&lt;P&gt;I am sorry but i did make a mistake when I put here in answers, please disregard it. &lt;/P&gt;

&lt;P&gt;Tks. &lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 11:37:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270854#M51994</guid>
      <dc:creator>dfigurello</dc:creator>
      <dc:date>2015-12-12T11:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude header data in cisco log file ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270855#M51995</link>
      <description>&lt;P&gt;Hi ssievert,, &lt;/P&gt;

&lt;P&gt;I am sorry but i did make a mistake when I put here in answers, please disregard it. &lt;/P&gt;

&lt;P&gt;Tks. &lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 11:38:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270855#M51995</guid>
      <dc:creator>dfigurello</dc:creator>
      <dc:date>2015-12-12T11:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude header data in cisco log file ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270856#M51996</link>
      <description>&lt;P&gt;You may want to match the full line that starts with '#', i.e. do &lt;CODE&gt;REGEX=^#.*&lt;/CODE&gt;&lt;BR /&gt;
I cannot see anything else that is wrong with your configuration. And you are configuring these files on your indexer, correct?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2015 18:57:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270856#M51996</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2015-12-15T18:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Exclude header data in cisco log file ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270857#M51997</link>
      <description>&lt;P&gt;Did you restart the Splunk instances on the Indexers where you put props.conf and transforms.conf?&lt;BR /&gt;
Double-check this list:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;The sourcetype matches replace_sourcetype_with_containing_directory exactly (casing, punctuation, etc.).&lt;/LI&gt;
&lt;LI&gt;The props.conf and transforms.conf configuration files are deployed to the Indexers or Heavy Forwarders (or Universal Forwarders in some cases, such as INDEXED_EXTRACTIONS = CSV).&lt;/LI&gt;
&lt;LI&gt;The inputs.conf configuration file is deployed to the Forwarder.&lt;/LI&gt;
&lt;LI&gt;You must restart/bounce all Splunk instances on the servers where you deploy these files.&lt;/LI&gt;
&lt;LI&gt;There are no configuration errors during restart (watch the response text during startup on one server of each type).&lt;/LI&gt;
&lt;LI&gt;You are verifying proper current function by looking at NEW data (post-deploy/post-bounce), not previously indexed data (which is immutable).&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:11:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Exclude-header-data-in-cisco-log-file/m-p/270857#M51997</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-09-29T08:11:01Z</dc:date>
    </item>
  </channel>
</rss>

