<?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: Splunk Add-on for OPC UA: Why do I receive an error when gathering &amp;quot;metrics&amp;quot; in the input screen? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248818#M68985</link>
    <description>&lt;P&gt;Hello! I do not know if the question has evolved, but ....&lt;/P&gt;

&lt;P&gt;I solved it by changing the configuration of the file opcua_address_space_chunk_manager.py, highlighted below.&lt;BR /&gt;
I realize that this problem is due to the number of TAGs on the OPC server, in this configuration I can read an OPC server with almost 2,000 TAGs.&lt;/P&gt;

&lt;P&gt;/ opt / splunk / etc / apps / Splunk_TA_opcua / bin.&lt;/P&gt;

&lt;P&gt;OpcUaAddressSpaceChunkManager class (object):&lt;BR /&gt;
OPCUA_ADDRESS_SPACE_CHECKPOINT_DIR = 'ta_opcua_address_space'&lt;/P&gt;

&lt;H1&gt;10 minutes&lt;/H1&gt;

&lt;P&gt;OPCUA_ADDRESS_SPACE_EXPIRE_TIME = &lt;STRONG&gt;600&lt;/STRONG&gt;&lt;/P&gt;

&lt;H1&gt;8 MB&lt;/H1&gt;

&lt;P&gt;OPCUA_ADDRESS_SPACE_CHUNK_SIZE = &lt;STRONG&gt;8*1024*1024&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:18:36 GMT</pubDate>
    <dc:creator>CleberLupianhez</dc:creator>
    <dc:date>2020-09-29T21:18:36Z</dc:date>
    <item>
      <title>Splunk Add-on for OPC UA: Why do I receive an error when gathering "metrics" in the input screen?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248812#M68979</link>
      <description>&lt;P&gt;Hello. I can browse my local OPC UA server (Siemens simatic net OPC) using a third party opc browser. However I am unable to connect using the Splunk "Add OPC UA Input" screen. When attempting to browse, I get error "In handler 'ta_opcua_address_address': Unable to xml-parse the following data: %sSplunk_TA_opcua".&lt;/P&gt;

&lt;P&gt;In one of the pre-release versions, I had to enter the "read nodes" manually, but I don't see this option anymore.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:23:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248812#M68979</guid>
      <dc:creator>ggeihs03</dc:creator>
      <dc:date>2020-09-29T11:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for OPC UA: Why do I receive an error when gathering "metrics" in the input screen?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248813#M68980</link>
      <description>&lt;P&gt;From my log:...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;time="2016-10-14T14:22:47-04:00" level=debug msg="endpoint: 0 [pass] - &amp;amp;opcua.EndpointDescription{EndpointURL:\"opc.tcp://mycomputerip:myport\", Server:opcua.ApplicationDescription{ApplicationURI:\"urn:Siemens.Automation.SimaticNET.S7:{9892DE7D-47C6-4543-A596-234B588F7090}\", ProductURI:\"Siemens/SimaticNet/OpcUaServer/S7\", ApplicationName:opcua.LocalizedText{Locale:\"en\", Text:\"OPC.SimaticNET.S7\"}, ApplicationType:0x0, GatewayServerURI:\"\", DiscoveryProfileURI:\"\", DiscoveryURLs:[]opcua.String{\"opc.tcp://mycomputerip:myport\"}}, ServerCertificate:opcua.ByteString{xxxxredactedxxxxx}, SecurityMode:0x3, SecurityPolicyURI:\"http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15\", UserIdentityTokens:[]opcua.UserTokenPolicy{opcua.UserTokenPolicy{PolicyID:\"Anonymous\", TokenType:0x0, IssuedTokenType:\"\", IssuerEndpointURL:\"\", SecurityPolicyURI:\"\"}, opcua.UserTokenPolicy{PolicyID:\"UserName\", TokenType:0x1, IssuedTokenType:\"\", IssuerEndpointURL:\"\", SecurityPolicyURI:\"http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15\"}}, TransportProfileURI:\"http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary\", SecurityLevel:0x82}" 
time="2016-10-14T14:22:47-04:00" level=debug msg="endpoint: 1 [select] - &amp;amp;opcua.EndpointDescription{EndpointURL:\"opc.tcp://mycomputerip:myport\", Server:opcua.ApplicationDescription{ApplicationURI:\"urn:Siemens.Automation.SimaticNET.S7:{9892DE7D-47C6-4543-A596-234B588F7090}\", ProductURI:\"Siemens/SimaticNet/OpcUaServer/S7\", ApplicationName:opcua.LocalizedText{Locale:\"en\", Text:\"OPC.SimaticNET.S7\"}, ApplicationType:0x0, GatewayServerURI:\"\", DiscoveryProfileURI:\"\", DiscoveryURLs:[]opcua.String{\"opc.tcp://mycomputerip:myport\"}}, ServerCertificate:opcua.ByteString{xxxxredacted}, SecurityMode:0x1, SecurityPolicyURI:\"http://opcfoundation.org/UA/SecurityPolicy#None\", UserIdentityTokens:[]opcua.UserTokenPolicy{opcua.UserTokenPolicy{PolicyID:\"Anonymous\", TokenType:0x0, IssuedTokenType:\"\", IssuerEndpointURL:\"\", SecurityPolicyURI:\"\"}, opcua.UserTokenPolicy{PolicyID:\"UserName\", TokenType:0x1, IssuedTokenType:\"\", IssuerEndpointURL:\"\", SecurityPolicyURI:\"http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15\"}}, TransportProfileURI:\"http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary\", SecurityLevel:0x0}" 
time="2016-10-14T14:22:47-04:00" level=debug msg="userIdentityToken: 0 [select] - opcua.UserTokenPolicy{PolicyID:\"Anonymous\", TokenType:0x0, IssuedTokenType:\"\", IssuerEndpointURL:\"\", SecurityPolicyURI:\"\"}" 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Oct 2016 18:41:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248813#M68980</guid>
      <dc:creator>ggeihs03</dc:creator>
      <dc:date>2016-10-14T18:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for OPC UA: Why do I receive an error when gathering "metrics" in the input screen?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248814#M68981</link>
      <description>&lt;P&gt;Hi @ggeihs03,  in new version you don't have to enter read nodes manually, you should go to OpcUA configuration page from Splunk launcher first and then add new OpcUA server in configuration page (you should specify a concrete OpcUA endpoint, e.g. opc.tcp://localhost:53530/OPCUA/SimulationServer), after adding new OpcUA server then go to inputs page and add a new input select read nodes from metric tree.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;config OpcUA server&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1999i8752E6DDDD57DBDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;config input&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2000i13B5A531B83C775F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 24 Oct 2016 08:48:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248814#M68981</guid>
      <dc:creator>lli_splunk</dc:creator>
      <dc:date>2016-10-24T08:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for OPC UA: Why do I receive an error when gathering "metrics" in the input screen?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248815#M68982</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have configured a server, however I get the XML error "Unable to xml-parse the following data: %sSplunk_TA_opcua"&lt;/P&gt;

&lt;P&gt;I can see the server and point to tags using opc.tcp://192.168.1.3:4845 in several standalone opcua browsers. However when trying to pick the metrics in splunk I get the error.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:35:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248815#M68982</guid>
      <dc:creator>ggeihs03</dc:creator>
      <dc:date>2020-09-29T11:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for OPC UA: Why do I receive an error when gathering "metrics" in the input screen?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248816#M68983</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I cleaned up old version and reinstalled again but couldn't recreate the problem. Can you give more detailed log, especially from $SPLUNK_HOME/var/log/splunk/ta_opcua_*.log, it could be helpful for me to find the problem.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:32:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248816#M68983</guid>
      <dc:creator>lli_splunk</dc:creator>
      <dc:date>2020-09-29T11:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for OPC UA: Why do I receive an error when gathering "metrics" in the input screen?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248817#M68984</link>
      <description>&lt;P&gt;Hi @ggeihs03, thank you for this report!   &lt;/P&gt;

&lt;P&gt;It will be very help for if you can share the error messages of ajax calls:&lt;/P&gt;

&lt;P&gt;Browser's Dev tool is very useful for this case, Chrome for example:&lt;BR /&gt;&lt;BR /&gt;
Open Dev tool, and go to the network tab.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2001iACFF3FA997889BB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
Open the "Create New Input" and select the server:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2002i9981EEB68A0D2BA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
If there is any, click the item will show the whole description &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 05:07:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248817#M68984</guid>
      <dc:creator>wguan_splunk</dc:creator>
      <dc:date>2016-11-14T05:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for OPC UA: Why do I receive an error when gathering "metrics" in the input screen?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248818#M68985</link>
      <description>&lt;P&gt;Hello! I do not know if the question has evolved, but ....&lt;/P&gt;

&lt;P&gt;I solved it by changing the configuration of the file opcua_address_space_chunk_manager.py, highlighted below.&lt;BR /&gt;
I realize that this problem is due to the number of TAGs on the OPC server, in this configuration I can read an OPC server with almost 2,000 TAGs.&lt;/P&gt;

&lt;P&gt;/ opt / splunk / etc / apps / Splunk_TA_opcua / bin.&lt;/P&gt;

&lt;P&gt;OpcUaAddressSpaceChunkManager class (object):&lt;BR /&gt;
OPCUA_ADDRESS_SPACE_CHECKPOINT_DIR = 'ta_opcua_address_space'&lt;/P&gt;

&lt;H1&gt;10 minutes&lt;/H1&gt;

&lt;P&gt;OPCUA_ADDRESS_SPACE_EXPIRE_TIME = &lt;STRONG&gt;600&lt;/STRONG&gt;&lt;/P&gt;

&lt;H1&gt;8 MB&lt;/H1&gt;

&lt;P&gt;OPCUA_ADDRESS_SPACE_CHUNK_SIZE = &lt;STRONG&gt;8*1024*1024&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:18:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-OPC-UA-Why-do-I-receive-an-error-when/m-p/248818#M68985</guid>
      <dc:creator>CleberLupianhez</dc:creator>
      <dc:date>2020-09-29T21:18:36Z</dc:date>
    </item>
  </channel>
</rss>

