Category Archives: Logs

Performance Counter

Hello there!

Today I’m going to say less and show more.

You can enable performance counter to see if you have any performance issues in your environment.

There are one post from MicroStrategy that helps you to enable those logs. Here is the link:

https://resource.microstrategy.com/support/Authoring/DisplayTN.aspx?tnkey=13313&formatted=1

There are two posts about the recommended settings for those logs. Here they are:

For Unix:

https://resource.microstrategy.com/support/Authoring/DisplayTN.aspx?formatted=1&tnkey=19155

For Windows:

https://resource.microstrategy.com/support/Authoring/DisplayTN.aspx?formatted=1&tnkey=19154

The link below shows you how to import the created file to Visual Insight (using MicroStrategy Analytics Express, but you can use your own Visual Insight installation (Desktop or Enterprise)) and analyze the log data:

https://resource.microstrategy.com/support/Authoring/DisplayTN.aspx?tnkey=47317&formatted=1

Hope it helps.

God bless you!

Enable Metric Logs for Linux using Command Line

Hello there!

Here is a quick tip to enable the MetricLogs required for using the Cube Advisor in Linux using command line.

Just go to the folder where is the mstrctl installed and type these lines:

 ./mstrctl -s IntelligenceServer ssc
<configuration>
  <log_destinations>
    <log_destination n="MetricLevels" tp="3" max_size="2048" callstack_message_ids=""/>
  </log_destinations>
</configuration>
 
 ./mstrctl -s IntelligenceServer ssc
<configuration>
  <diagnostics>
   <logger n="Dynamic Sourcing">
    <dispatcher n="Metric Levels Log">
     <log_destination n="MetricLevels"/>
    </dispatcher>
    </logger>
   </diagnostics>
</configuration>

 

And after that, type this line:

./mstrctl -s IntelligenceServer gsc >> /tmp/a.txt

Then, restart IS:
./mstrctl -s IntelligenceServer stop
./mstrctl -s IntelligenceServer start

That's it.

Hope it helps.

God bless you.