Histórico da Página
HTML |
---|
<div id="main-content" class="wiki-content group"> <div class="aui-message success shadowed information-macro has-no-icon"> <p class="title">Form data import</p> <div class="message-content"> <p> To import form data, <a href="http://tdn.totvs.com/display/fluigeng/Sending+form+data">click here</a> </p> </div> </div> <h2 id="Importaçãodedadoshistóricos-Pré-requisitos">Requirements</h2> <ul> <li>Access to server where Fluig is installed (read)</li> <li>Fluig Analytics enabled and configured. For more information, <a href="http://tdn.totvs.com/display/fluigeng/Fluig+Analytics+Implementation+Guide" rel="nofollow">click here</a>. </li> <li>Java 7 installed.</li> </ul> <h2 id="Importaçãodedadoshistóricos-Comoutilizar">How to use</h2> <p>For the import process, the Fluig service does not need to be interrupted (this procedure may run while Fluig is in execution). There are two ways to import historical data. As we see below:</p> <p> </p> <ul> <li><strong>Simple execution (generates and sends all data in visual mode)</strong></li> </ul> <ol> <li>Copy the <a href="http://tdn.totvs.com/download/attachments/185741370/analytics-import-1_3.jar?version=1&modificationDate=1426097139000&api=v2">analytics-import-1_3.jar</a> file to the Fluig server; </li> <li><p>Execute the importer (double click) or through the command line:</p> <div class="code panel pdl" style="border-width: 1px;"> <div class="codeContent panelContent pdl"> <pre class="theme: Emacs; brush: plain; gutter: false" style="font-size: 12px;">java -jar analytics-import-1_3.jar</pre> </div> </div></li> <li>Enter the directory where Fluig is installed, the tenant code and the period (start and end date) of the data to be imported.</li> <li>Click on the button and await the import process.</li> </ol> <p style="margin-left: 30.0px;"> <img class="confluence-embedded-image" src="http://tdn.totvs.com/download/attachments/126717843/importador-gui.png?version=1&modificationDate=1393949880000&api=v2" data-image-src="http://tdn.totvs.com/download/attachments/126717843/importador-gui.png?version=1&modificationDate=1393949880000&api=v2"> </p> <ul> <li><strong>Text mode execution (generates and sends all data)</strong></li> </ul> <ol> <li>Copy the <a href="http://tdn.totvs.com/download/attachments/185741370/analytics-import.jar?version=1&modificationDate=1426097139000&api=v2">analytics-import.jar</a> file to the Fluig server; </li> </ol> <p style="margin-left: 30.0px;">Execute the importer, entering the following parameters in the command line:</p> <div class="code panel pdl" style="border-width: 1px;"> <div class="codeContent panelContent pdl"> <pre class="theme: Emacs; brush: plain; gutter: false" style="font-size: 12px;">java -jar analytics-import.jar <INSTALACAO_FLUIG> <ID_TENANT> <DATA_INICIAL> <DATA_FINAL></pre> </div> </div> <div class="code panel pdl" style="border-width: 1px;"> <div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"> <b>Example</b> </div> <div class="codeContent panelContent pdl"> <pre class="theme: Emacs; brush: plain; gutter: false" style="font-size: 12px;">java -jar analytics-import.jar c:\fluig 1 10/10/1980 01/01/2014</pre> </div> </div> <div class="aui-message warning shadowed information-macro"> <p class="title">ATTENTION</p> <span class="aui-icon icon-warning">Icon</span> <div class="message-content"> <p> The date format must be <strong>DD/MM/YYYY</strong> </p> </div> </div> <p> </p> <ul> <li><strong>Text mode execution (generates data only)</strong></li> </ul> <p style="margin-left: 30.0px;">Execute the importer, entering the following parameters in the command line:</p> <div class="code panel pdl" style="border-width: 1px;"> <div class="codeContent panelContent pdl"> <pre class="theme: Emacs; brush: plain; gutter: false" style="font-size: 12px;">java -jar analytics-import.jar <INSTALACAO_FLUIG> <ID_TENANT> <DATA_INICIAL> <DATA_FINAL> gerar</pre> </div> </div> <div class="code panel pdl" style="border-width: 1px;"> <div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"> <b>Example</b> </div> <div class="codeContent panelContent pdl"> <pre class="theme: Emacs; brush: plain; gutter: false" style="font-size: 12px;"> java -jar analytics-import.jar c:\fluig 1 10/10/1980 01/01/2014 gerar</pre> </div> </div> <div class="aui-message warning shadowed information-macro"> <p class="title">ATTENTION</p> <span class="aui-icon icon-warning">Icon</span> <div class="message-content"> <p> <span>The date format must be </span><strong>DD/MM/YYYY</strong> </p> </div> </div> <p> </p> <ul> <li><strong>Text mode execution (send data only)</strong></li> </ul> <p style="margin-left: 30.0px;">Execute the importer, entering the following parameters in the command line:</p> <div class="code panel pdl" style="border-width: 1px;"> <div class="codeContent panelContent pdl"> <pre class="theme: Emacs; brush: plain; gutter: false" style="font-size: 12px;">java -jar analytics-import.jar <INSTALACAO_FLUIG> <ID_TENANT> <DATA_INICIAL> <DATA_FINAL> enviar</pre> </div> </div> <div class="code panel pdl" style="border-width: 1px;"> <div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"> <b>Example</b> </div> <div class="codeContent panelContent pdl"> <pre class="theme: Emacs; brush: plain; gutter: false" style="font-size: 12px;">java -jar analytics-import.jar c:\fluig 1 10/10/1980 01/01/2014 enviar</pre> </div> </div> <div class="aui-message warning shadowed information-macro"> <p class="title">ATTENTION</p> <span class="aui-icon icon-warning">Icon</span> <div class="message-content"> <p> <span>The date format must be </span><strong>DD/MM/YYYY</strong> </p> </div> </div> <p> </p> <ul> <li><strong>Text mode execution (delete data)</strong></li> </ul> <p>1 - Execute the importer, entering the following parameters in the command line:</p> <div class="code panel pdl" style="border-width: 1px;"> <div class="codeContent panelContent pdl"> <pre class="theme: Emacs; brush: xml; gutter: false" style="font-size: 12px;">java -jar analytics-import.jar <INSTALACAO_FLUIG> <ID_TENANT> deletar <DATASET></pre> </div> </div> <div class="code panel pdl" style="border-width: 1px;"> <div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"> <b>Example</b> </div> <div class="codeContent panelContent pdl"> <pre class="theme: Confluence; brush: plain; gutter: false" style="font-size: 12px;">import.jar c:\fluig 1 deletar dataset.solicitacao</pre> </div> </div> <p>Valid datasets are shown below:</p> <ul> <li>dataset.solicitacao</li> <li>dataset.documento</li> <li>dataset.pagehit</li> <li>dataset.events</li> <li>dataset.author</li> <li>dataset.place</li> </ul> <p> At the end of the execution of an import process, a <em>log</em> will be generated in the directory where the <em>analytics-import.jar</em> file was executed. </p> </div> |
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas