<?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 change a miner timeout in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-change-a-miner-timeout/m-p/181854#M99367</link>
    <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/6710"&gt;@xhoms&lt;/a&gt;:&amp;nbsp; Sorry I think I spoke too soon.&amp;nbsp;&amp;nbsp;I created a new local prototype with confidence 80, and added the section you provided.&amp;nbsp; Everything worked, except records kept being aged out in a little over an hour (unless they are cought again by a rule in the meantime).&amp;nbsp; So basically the age_out statemement was not being applied.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what the config file (/opt/minemeld/local/prototypes/minemeldlocal.yml) looked like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;author: minemeld-web
description: Local prototype library managed via MineMeld WebUI
prototypes:
    stdlib_syslogMiner_local:
        class: minemeld.ft.syslog.SyslogMiner
        config:
            attributes:
                confidence: 80
                share_level: green
            config:
                age_out:
                    default: first_seen+30d
                    interval: 3600
                    sudden_death: false
            source_name: panos.syslog
        description: 'Miner for PAN-OS syslog messages

            '
        development_status: EXPERIMENTAL
        indicator_types:
        - URL
        - IPv4
        - IPv6
        node_type: miner
        tags:
        - ConfidenceHigh
&lt;/PRE&gt;
&lt;P&gt;I thought the problem was that I goofed out, and inserted an extra "config:" in the... config section, so I've tried editing out that extra "config:" line:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;author: minemeld-web
description: Local prototype library managed via MineMeld WebUI
prototypes:
    stdlib_syslogMiner_Local:
        class: minemeld.ft.syslog.SyslogMiner
        config:
            age_out:
                default: first_seen+30d
                interval: 1800
                sudden_death: false
            attributes:
                confidence: 80
                share_level: green
            source_name: panos.syslog
        description: 'Miner for PAN-OS syslog messages

            '
        development_status: EXPERIMENTAL
        indicator_types:
        - URL
        - IPv4
        - IPv6
        node_type: miner
        tags:
        - ConfidenceHigh
&lt;/PRE&gt;
&lt;P&gt;Unfortunately, with the edited minemeldlocal.yml (above), the Minemeld engine is not happy, and refuses to start.&amp;nbsp; It just goes through a couple of starting / &lt;STRIKE&gt;backup&lt;/STRIKE&gt;&amp;nbsp;backoff cycles and then gives up.&amp;nbsp; To summarize: config one everything works, except age_out (still one hour); config two MMeld engine does not start.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before I started editing the config file, I looked for a way to change the local protoype from the WebUI, but could not find it.&amp;nbsp; It's very possible I'm just having a senior moment, &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Luca&lt;/P&gt;</description>
    <pubDate>Fri, 13 Oct 2017 22:16:50 GMT</pubDate>
    <dc:creator>LucaMarchiori</dc:creator>
    <dc:date>2017-10-13T22:16:50Z</dc:date>
    <item>
      <title>How to change a miner timeout</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-change-a-miner-timeout/m-p/181579#M99364</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A simple question, I hope.&amp;nbsp; How do I change the default timeout for a certain miner - panos syslog miner in may case.&lt;/P&gt;
&lt;P&gt;I'd like to change the timeout to be 30 days, rather then an hour or so&amp;nbsp;that seems to be set now.&amp;nbsp; I could not find a way to make change through the GUI, I figure one of the config files needs editing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Luca&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="update withdraw.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/11906i3001F37ABED98880/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="update withdraw.png" alt="update withdraw.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 20:47:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-change-a-miner-timeout/m-p/181579#M99364</guid>
      <dc:creator>LucaMarchiori</dc:creator>
      <dc:date>2017-10-12T20:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a miner timeout</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-change-a-miner-timeout/m-p/181701#M99365</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/28602"&gt;@LucaMarchiori&lt;/a&gt;&amp;nbsp;: You must create a new prototype out of the SyslogMiner one and add an "age_out" object in the config section with a default interval value of "&lt;SPAN&gt;first_seen+30d"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;config:
    age_out:
        default: first_seen+30d
        interval: 3600&lt;BR /&gt;        &lt;SPAN&gt;sudden_death: false&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More info on age_policy and other node configuration attributes at &lt;A href="https://live.paloaltonetworks.com/t5/MineMeld-Articles/Configuring-nodes/ta-p/77185" target="_self"&gt;https://live.paloaltonetworks.com/t5/MineMeld-Articles/Configuring-nodes/ta-p/77185&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 09:44:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-change-a-miner-timeout/m-p/181701#M99365</guid>
      <dc:creator>xhoms</dc:creator>
      <dc:date>2017-10-13T09:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a miner timeout</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-change-a-miner-timeout/m-p/181790#M99366</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/6710"&gt;@xhoms&lt;/a&gt;: Thank you, that worked!&amp;nbsp; Also changed the confidence level to 80.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 16:30:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-change-a-miner-timeout/m-p/181790#M99366</guid>
      <dc:creator>LucaMarchiori</dc:creator>
      <dc:date>2017-10-13T16:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a miner timeout</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-change-a-miner-timeout/m-p/181854#M99367</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/6710"&gt;@xhoms&lt;/a&gt;:&amp;nbsp; Sorry I think I spoke too soon.&amp;nbsp;&amp;nbsp;I created a new local prototype with confidence 80, and added the section you provided.&amp;nbsp; Everything worked, except records kept being aged out in a little over an hour (unless they are cought again by a rule in the meantime).&amp;nbsp; So basically the age_out statemement was not being applied.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what the config file (/opt/minemeld/local/prototypes/minemeldlocal.yml) looked like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;author: minemeld-web
description: Local prototype library managed via MineMeld WebUI
prototypes:
    stdlib_syslogMiner_local:
        class: minemeld.ft.syslog.SyslogMiner
        config:
            attributes:
                confidence: 80
                share_level: green
            config:
                age_out:
                    default: first_seen+30d
                    interval: 3600
                    sudden_death: false
            source_name: panos.syslog
        description: 'Miner for PAN-OS syslog messages

            '
        development_status: EXPERIMENTAL
        indicator_types:
        - URL
        - IPv4
        - IPv6
        node_type: miner
        tags:
        - ConfidenceHigh
&lt;/PRE&gt;
&lt;P&gt;I thought the problem was that I goofed out, and inserted an extra "config:" in the... config section, so I've tried editing out that extra "config:" line:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;author: minemeld-web
description: Local prototype library managed via MineMeld WebUI
prototypes:
    stdlib_syslogMiner_Local:
        class: minemeld.ft.syslog.SyslogMiner
        config:
            age_out:
                default: first_seen+30d
                interval: 1800
                sudden_death: false
            attributes:
                confidence: 80
                share_level: green
            source_name: panos.syslog
        description: 'Miner for PAN-OS syslog messages

            '
        development_status: EXPERIMENTAL
        indicator_types:
        - URL
        - IPv4
        - IPv6
        node_type: miner
        tags:
        - ConfidenceHigh
&lt;/PRE&gt;
&lt;P&gt;Unfortunately, with the edited minemeldlocal.yml (above), the Minemeld engine is not happy, and refuses to start.&amp;nbsp; It just goes through a couple of starting / &lt;STRIKE&gt;backup&lt;/STRIKE&gt;&amp;nbsp;backoff cycles and then gives up.&amp;nbsp; To summarize: config one everything works, except age_out (still one hour); config two MMeld engine does not start.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before I started editing the config file, I looked for a way to change the local protoype from the WebUI, but could not find it.&amp;nbsp; It's very possible I'm just having a senior moment, &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Luca&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 22:16:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-change-a-miner-timeout/m-p/181854#M99367</guid>
      <dc:creator>LucaMarchiori</dc:creator>
      <dc:date>2017-10-13T22:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a miner timeout</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-change-a-miner-timeout/m-p/181945#M99368</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/28602"&gt;@LucaMarchiori&lt;/a&gt;: My fault. I didn't check before posting.&amp;nbsp;I've just realized&amp;nbsp;like SyslogMiner class extends Base (not BasePoller) so the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;sudden_death&lt;/FONT&gt; attribute in the &lt;FONT face="courier new,courier"&gt;age_out&lt;/FONT&gt; policy is not supported. I just checked that the following prototype do instantiates correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you mean cloning this one?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Picture1.png" style="width: 500px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/11948i971FED44B3F2BF79/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Picture1.png" alt="Picture1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;By the way: the current WebUI do not allow you changing the node configuration. The only moment it allows you to do so is at prototype-&amp;gt;new time.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2017 13:28:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-change-a-miner-timeout/m-p/181945#M99368</guid>
      <dc:creator>xhoms</dc:creator>
      <dc:date>2017-10-15T13:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a miner timeout</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-change-a-miner-timeout/m-p/182059#M99369</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/6710"&gt;@xhoms&lt;/a&gt;&amp;nbsp; It looks as though deleting the sudden_death line did the trick, thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Luca&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 17:59:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-change-a-miner-timeout/m-p/182059#M99369</guid>
      <dc:creator>LucaMarchiori</dc:creator>
      <dc:date>2017-10-16T17:59:30Z</dc:date>
    </item>
  </channel>
</rss>

