[PYTHON] Factfulness of the new coronavirus seen in Splunk

Merry Christmas! Another week in 2020. I think the Christmas cake and chicken procession this evening was longer than usual. Is it Christmas at home?

A new coronavirus discovered in January 2020 and a pandemic in March. It is reported daily. It's usually the news of the highest number of people updated, but if it's not the best, it looks like it's the best of the past days of the week or the best in Osaka. Number of cancer deaths in Japan in 2017: 373,584, (https://ganjoho.jp/reg_stat/statistics/stat/summary.html)

The number of deaths from heart disease such as myocardial infarction is 204,837 (http://www.seikatsusyukanbyo.com/statistics/2019/009997.php#:~:text=%E5%8E%9A%E7%94%9F%E5 % 8A% B4% E5% 83% 8D% E7% 9C% 81% E7% 99% BA% E8% A1% A8% E3% 81% AE% E3% 80% 8C% E4% BA% BA% E5% 8F % A3,% E3% 81% AB% E5% A4% 9A% E3% 81% 84% E6% 95% B0% E5% AD% 97% E3% 81% A7% E3% 81% 97% E3% 81% 9F% E3% 80% 82)

Cerebrovascular disease deaths in 2015: 111,973. (http://www.seikatsusyukanbyo.com/statistics/2016/009216.php)

The death toll of the new coronavirus is 2941. (Https://www3.nhk.or.jp/news/special/coronavirus/data-all/)

Vaccines have just been made, but tobacco, alcohol and salt are more likely to die. (But the number of medical personnel who attach ECMO is small.) Also, because the virus is new, it is not possible to accurately prevent and test infections, and there are many doctors at the wide show, but who can you believe? I have a headache. (I like Mr. Omi)

There are universities that investigate and publish information on the infection of such a new type of coronavirus. Maybe you all know Johns Hopkins University. Johns Hopkins University is a private university in the United States headquartered in Baltimore, Maryland. It was installed in 1876. It is one of the most difficult universities in the United States with one of the best medical schools in the world, and it is an elite university that has created studies such as neurosurgery, cardiac surgery, pediatrics, and child psychiatry.

View this public data I'd like to try Splunk's App (extended add-on) today and use Splunk for factfulness without being fooled by fake news.

    1. Searching for COVID19 in Splunkbase will hit. https://splunkbase.splunk.com/app/4925/ キャプチャ4.PNG Log in to download the app. Unzip the download file in/opt/splunk/etc/apps with Splunk installed. When you unzip it, you will find a covid-19 directory in it. Alternatively, press "+ Search for other apps" at the bottom of the list of apps in the left column of Splunk. Search for COVID and install the hit COVID-19 App on your browser.

Please note that this COVID-19App does not work by itself. Also include the "Canary" app and the "Sideview Utils" app. It's done as soon as you install the app from Splunk's admin screen or manually. It will start working when a total of 3 apps are set up and ready to run.

The default countries such as England and France are checked by default, but since it is a huge number, uncheck it. Select the number of deaths and city name from the pull-down menu. It's a little heavy when first opened. However, I notice annoyance from here. Osaka has half the number of infected people in Japan, and France has a terrifying number. If you look at this, you will notice that it is okay to lock down.

キャプチャ1.PNG 、 By default, this data display stops. It does not support new data import. At the command line, do the following: It's daily, so I think it's a good idea to hit the command with cron. Anyway, if you stop in the middle, the graph will not come out.

cd /opt/splunk/etc/apps/covid-19/bin

Execute the following command in this directory.

refresh.jpg

/opt/splunk/bin/splunk cmd python refresh.py <CR>

This will send worldwide infection data to Splunk. However, due to the large amount of data, it is recommended to leave it alone overnight. キャプチャ1.PNG

In the pull-down menu, reduce the number of deaths and the X-axis value to 50. (I'm glad I was in Japan) PCR tests in South Korea and cars have reduced the number of infections! Although it was reported like this, it is increasing after all .... but there is no report ....

Splunk tells the truth, notices the truth. And in real time. Find out if you're a chimpanzee https://factquiz.chibicode.com

Everyone, please enjoy using various Splunk apps. The time will come when the new coronavirus will be in the next two years, and in 2021, the number of infected people in Tokyo will exceed 1,000. Let's overcome Corona while seeing the truth.

Recommended Posts

Factfulness of the new coronavirus seen in Splunk
Plot the spread of the new coronavirus
Estimate the peak infectivity of the new coronavirus
GUI simulation of the new coronavirus (SEIR model)
Let's test the medical collapse hypothesis of the new coronavirus
Quantify the degree of self-restraint required to contain the new coronavirus
Use hash to lighten collision detection of about 1000 balls in Python (related to the new coronavirus)
The story of participating in AtCoder
The story of the "hole" in the file
Analyzing the age-specific severity of coronavirus
Hypothesis of why the new coronavirus is not so common in urban areas such as Tokyo
[Understanding in 3 minutes] The beginning of Linux
Check the behavior of destructor in Python
Did the number of store closures increase due to the impact of the new coronavirus?
The story of an error in PyOCR
Implement part of the process in C ++
(Now) I analyzed the new coronavirus (COVID-19)
The result of installing python in Anaconda
Let's claim the possibility of pyenv-virtualenv in 2021
The story of the student who developed the new coronavirus countermeasure site (Ishikawa version)
The basics of running NoxPlayer in Python
Try the new scheduler chaining in PyTorch 1.4
In search of the fastest FizzBuzz in Python
Let's calculate the transition of the basic reproduction number of the new coronavirus by prefecture
I tried to predict the behavior of the new coronavirus with the SEIR model.
Create a bot that posts the number of people positive for the new coronavirus in Tokyo to Slack
Folding @ Home on Linux Mint to contribute to the analysis of the new coronavirus
Scraping data wrangling of statistical information on new coronavirus infection in Yamanashi Prefecture
Create a BOT that displays the number of infected people in the new corona
Scraping the number of downloads and positive registrations of the new coronavirus contact confirmation app
The epidemic forecast of the new coronavirus was released on the Web at explosive speed
I tried to automatically send the literature of the new coronavirus to LINE with Python
Output the number of CPU cores in Python
The meaning of {version-number} in the mysql rpm package
[Python] Sort the list of pathlib.Path in natural sort
Change the font size of the legend in df.plot
Get the caller of a function in Python
Match the distribution of each group in Python
View the result of geometry processing in Python
Make a copy of the list in Python
Find the number of days in a month
Read the output of subprocess.Popen in real time
The story of finding the optimal n in N fist
Fix the argument of the function used in map
I touched some of the new features of Python 3.8 ①
Find the solution of the nth-order equation in python
The story of reading HSPICE data in Python
[Note] About the role of underscore "_" in Python
Put the second axis in 2dhistgram of matplotlib
About the behavior of Model.get_or_create () of peewee in Python
Solving the equation of motion in Python (odeint)
Visualized the usage status of the sink in the company
Output in the form of a python array
The story of viewing media files in Django
Search by the value of the instance in the list
Make progress of dd visible in the progress bar
The transition of baseball as seen from the data
The story of the second year of new graduates passing Java Silver / Gold in two months
Let's examine the convergence time from the global trend of the effective reproduction number of the new coronavirus
Verify the effect of leave as a countermeasure against the new coronavirus with the SEIR model
The theory that the key to controlling infection with the new coronavirus is hyperdispersion of susceptibility